:root {
  --brand: #0f766e;
  --brand-dark: #134e4a;
  --ink: #10201e;
  --muted: #5f6f6b;
  --line: #dbe7e4;
  --soft: #eef8f5;
  --gold: #d6a229;
  --white: #ffffff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: #fbfdfc;
  overflow-x: hidden;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(18px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

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

.brand img { width: 38px; height: 38px; object-fit: contain; }

nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.app-link,
button,
.contact-actions a,
.software-link {
  border: 0;
  border-radius: 7px;
  padding: 12px 16px;
  font-weight: 750;
  cursor: pointer;
  font: inherit;
}

.app-link,
.primary {
  background: var(--brand);
  color: var(--white);
}

.software-link {
  background: var(--white);
  color: var(--brand-dark);
}

.secondary {
  background: var(--ink);
  color: var(--white);
}

.ghost {
  background: var(--soft);
  color: var(--brand-dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  min-height: calc(100svh - 70px);
  align-items: center;
  gap: clamp(28px, 6vw, 80px);
  padding: clamp(40px, 7vw, 92px) clamp(18px, 6vw, 84px);
  background:
    linear-gradient(rgba(8, 39, 35, 0.52), rgba(8, 39, 35, 0.3)),
    url("https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?auto=format&fit=crop&w=1800&q=82") center/cover;
  color: var(--white);
}

.hero-logo {
  width: 82px;
  height: 82px;
  object-fit: contain;
  margin-bottom: 18px;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.22));
}

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

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

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

h1 {
  max-width: 760px;
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  line-height: 0.96;
  margin-bottom: 22px;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 3.25rem);
  line-height: 1.06;
  margin-bottom: 14px;
}

h3 { font-size: 1.15rem; margin-bottom: 8px; }

.hero-text {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.04rem, 2vw, 1.28rem);
  line-height: 1.55;
}

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

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

.trust-row span {
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.1);
}

.hero-visual { display: flex; justify-content: center; }

.hero-panel {
  width: min(520px, 100%);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.metric-row {
  display: grid;
  gap: 6px;
  padding: 20px;
  background: var(--soft);
  border-radius: 7px;
}

.metric-row span {
  color: var(--muted);
}

.metric-row strong {
  font-size: clamp(1.8rem, 4vw, 2.55rem);
}

.sync-pill {
  display: inline-flex;
  margin: 18px 0;
  background: var(--brand);
  color: var(--white);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 800;
}

.sale-list {
  display: grid;
  gap: 10px;
}

.sale-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.sale-list div:last-child {
  border-bottom: 0;
}

.pos-window {
  width: min(520px, 100%);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.window-top {
  display: flex;
  gap: 7px;
  padding: 14px;
  background: #e9f2ef;
}

.window-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
}

.sale-panel,
.stock-card {
  margin: 18px;
  padding: 18px;
  background: var(--soft);
  border-radius: 7px;
}

.sale-panel {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.sale-panel small {
  display: block;
  color: var(--muted);
  margin-bottom: 5px;
}

.sale-panel strong { font-size: 1.55rem; }

.status-pill {
  background: var(--brand);
  color: var(--white);
  border-radius: 999px;
  padding: 8px 11px;
  font-size: 0.85rem;
}

.grid-lines {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 0 18px 10px;
}

.section {
  padding: clamp(54px, 8vw, 96px) clamp(18px, 6vw, 84px);
}

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

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

.feature-grid article,
.pricing-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(15, 118, 110, 0.06);
}

.feature-grid p,
.benefit-list p,
.pricing-grid p,
.contact-band p {
  color: var(--muted);
  line-height: 1.6;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  background: var(--soft);
}

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

.benefit-list p {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

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

.pricing-grid .featured {
  border-color: var(--brand);
  box-shadow: 0 16px 40px rgba(15, 118, 110, 0.16);
}

.price {
  color: var(--brand-dark);
  font-weight: 800;
}

ul {
  padding-left: 20px;
  line-height: 1.9;
  color: var(--muted);
}

.pricing-grid button { width: 100%; margin-top: 10px; background: var(--brand); color: var(--white); }

.contact-band {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  background: var(--brand-dark);
  color: var(--white);
}

.contact-band p { color: rgba(255, 255, 255, 0.82); }
.contact-actions a { background: var(--white); color: var(--brand-dark); }

footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 24px clamp(18px, 6vw, 84px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

dialog {
  width: min(760px, calc(100vw - 24px));
  border: 0;
  border-radius: 8px;
  padding: 0;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

dialog::backdrop { background: rgba(7, 25, 23, 0.58); }

#request-form { padding: 24px; }

.dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.icon-button {
  width: 38px;
  height: 38px;
  padding: 0;
  background: var(--soft);
  color: var(--brand-dark);
  font-size: 1.5rem;
}

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

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.92rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 11px 12px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}

.phone-input-group {
  display: grid;
  grid-template-columns: minmax(132px, 0.42fr) minmax(0, 0.58fr);
  gap: 8px;
}

.phone-input-group select,
.phone-input-group input {
  min-width: 0;
}

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

#form-status {
  min-height: 22px;
  margin: 14px 0 0;
  color: var(--brand-dark);
  font-weight: 700;
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

@media (max-width: 920px) {
  nav { display: none; }
  .hero,
  .split {
    grid-template-columns: 1fr;
  }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-grid { grid-template-columns: 1fr; }
  .contact-band { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
  .site-header { align-items: flex-start; }
  .app-link { display: none; }
  .hero {
    min-height: auto;
    overflow: hidden;
  }
  h1 {
    max-width: 11ch;
    font-size: clamp(2rem, 9.5vw, 2.35rem);
    line-height: 1.02;
  }
  .hero-text {
    max-width: 31ch;
  }
  .hero-actions button,
  .hero-actions a,
  .contact-actions button,
  .contact-actions a {
    width: 100%;
    text-align: center;
  }
  .feature-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .phone-input-group {
    grid-template-columns: 1fr;
  }
  .sale-panel { align-items: flex-start; flex-direction: column; }
  footer { flex-direction: column; }
}
