:root {
  --teal: #0a4a52;
  --teal-deep: #063840;
  --burgundy: #8b0000;
  --rose: #9f1239;
  --gray: #2c2e32;
  --gray-2: #3a3d42;
  --ink: #1a1b1d;
  --muted: #c5c6c8;
  --line: rgba(180, 182, 186, 0.22);
  --bg: #0a4a52;
  --bg-2: #083e45;
  --card: #2c2e32;
  --white: #f4f4f5;
  --radius: 22px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --brand: linear-gradient(135deg, #3a3d42 0%, #8b0000 100%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, "Segoe UI", sans-serif;
  background:
    radial-gradient(900px 500px at 90% -20%, #0e6570 0%, transparent 55%),
    radial-gradient(700px 420px at -10% 80%, #063840 0%, transparent 50%),
    var(--bg);
  color: var(--white);
  line-height: 1.55;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(26, 27, 29, 0.88);
  border-bottom: 1px solid transparent;
  border-image: var(--brand) 1;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  mix-blend-mode: lighten;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a:hover {
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 650;
  font-size: 14px;
  transition: 0.2s transform, 0.2s background, 0.2s box-shadow;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 24px rgba(139, 0, 0, 0.28);
}

.btn-ghost {
  background: var(--gray);
  color: #fff;
  border: 1px solid rgba(139, 0, 0, 0.65);
}

.hero {
  position: relative;
  padding: 72px 0 40px;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}

.hero::before {
  width: 420px;
  height: 420px;
  right: -80px;
  top: -80px;
  background: rgba(14, 101, 112, 0.55);
}

.hero::after {
  width: 340px;
  height: 340px;
  left: -80px;
  bottom: 0;
  background: rgba(6, 56, 64, 0.65);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
  background: linear-gradient(90deg, #9ca3af, var(--rose));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  max-width: 12ch;
}

.hero h1 span {
  background: var(--brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.pill {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  color: #dbe7e6;
}

a.pill:hover {
  color: #fff;
  border-color: #9f1239;
  background: rgba(139, 0, 0, 0.18);
}

.hero-visual {
  position: relative;
  min-height: 460px;
}

.nexo {
  width: min(420px, 100%);
  margin: 0 auto;
  filter: drop-shadow(0 24px 40px rgba(139, 0, 0, 0.35));
  animation: float 5.5s ease-in-out infinite;
  mix-blend-mode: lighten;
}

.window {
  position: absolute;
  left: 0;
  bottom: 28px;
  width: min(340px, 90%);
  background: rgba(44, 46, 50, 0.94);
  border: 1px solid transparent;
  background-image: linear-gradient(rgba(44, 46, 50, 0.94), rgba(44, 46, 50, 0.94)), var(--brand);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.window b {
  display: block;
  margin-bottom: 10px;
}

.kpi {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.kpi div {
  background: #1a1b1d;
  border-radius: 12px;
  padding: 10px;
  border: 1px solid var(--line);
}

.kpi small {
  color: var(--muted);
  font-size: 11px;
}

.kpi strong {
  display: block;
  margin-top: 4px;
}

.section {
  padding: 84px 0;
}

.section.alt {
  background:
    radial-gradient(700px 280px at 50% 0%, rgba(14, 101, 112, 0.45), transparent 55%),
    var(--bg-2);
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 36px;
}

.section-head h2,
.block h2 {
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.03em;
}

.section-head p,
.block p.sub {
  color: var(--muted);
  max-width: 52ch;
}

.modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  background: var(--card);
  border: 1px solid transparent;
  background-image: linear-gradient(var(--card), var(--card)), var(--brand);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border-radius: var(--radius);
  padding: 22px;
  min-height: 210px;
  transition: 0.2s transform, 0.2s filter;
}

.card:hover {
  transform: translateY(-4px);
  filter: brightness(1.08);
}

.icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: var(--brand);
  color: #fff;
}

.card.wine .icon {
  background: linear-gradient(135deg, #8b0000, #3a3d42);
  color: #fff;
}

.card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.card p {
  color: var(--muted);
  font-size: 14px;
}

.card ul {
  margin-top: 14px;
  padding-left: 16px;
  color: #d7e0e6;
  font-size: 13px;
}

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  background: var(--card);
  border: 1px solid transparent;
  background-image: linear-gradient(var(--card), var(--card)), var(--brand);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border-radius: 18px;
  padding: 16px;
}

.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.step {
  background: var(--card);
  border: 1px solid transparent;
  background-image: linear-gradient(var(--card), var(--card)), var(--brand);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border-radius: 18px;
  padding: 18px;
}

.step span {
  display: inline-block;
  background: var(--brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
  margin-bottom: 8px;
}

.cta {
  background: linear-gradient(135deg, #3a3d42, #8b0000);
  border: 1px solid rgba(139, 0, 0, 0.5);
  border-radius: 32px;
  padding: 48px;
  text-align: center;
}

.cta h2 {
  margin-bottom: 10px;
}

.footer {
  border-top: 1px solid transparent;
  border-image: var(--brand) 1;
  padding: 28px 0 40px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
}

.menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: #fff;
  border-radius: 10px;
  padding: 8px 10px;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@media (max-width: 900px) {
  .hero-grid,
  .modules,
  .two,
  .flow {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 74px;
    right: 20px;
    left: 20px;
    background: #2c2e32;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links.open {
    display: flex;
  }

  .menu-btn {
    display: block;
  }

  .window {
    position: relative;
    left: auto;
    bottom: auto;
    margin-top: 16px;
    width: 100%;
  }

  .hero-visual {
    min-height: unset;
  }

  .cta {
    padding: 28px 20px;
  }

  .page-grid,
  .contact-grid,
  .shot-grid {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
  }
}

.page-hero {
  padding: 56px 0 12px;
}

.crumb {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 14px;
}

.crumb a:hover {
  color: #fff;
}

.prose {
  color: #e4e4e7;
  font-size: 16px;
}

.prose h2 {
  color: #fff;
  font-size: 24px;
  margin: 32px 0 10px;
  letter-spacing: -0.03em;
  border-left: 3px solid transparent;
  border-image: var(--brand) 1;
  padding-left: 12px;
}

.prose h3 {
  color: #fff;
  font-size: 18px;
  margin: 22px 0 8px;
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose ul,
.prose ol {
  padding-left: 18px;
  margin: 8px 0 14px;
}

.prose li {
  margin: 5px 0;
}

.page-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 28px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 96px;
  background: var(--card);
  border: 1px solid transparent;
  background-image: linear-gradient(var(--card), var(--card)), var(--brand);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border-radius: 18px;
  padding: 16px;
}

.toc a {
  display: block;
  color: var(--muted);
  font-size: 13px;
  padding: 6px 0;
}

.toc a:hover,
.toc a.active {
  color: var(--rose);
}

.shot {
  margin: 22px 0 28px;
}

.shot-top {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #2c2e32;
  color: #d4d4d8;
  font-size: 12px;
  padding: 8px 12px;
  border-radius: 14px 14px 0 0;
}

.shot-top i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f87171;
  box-shadow: 12px 0 0 #fbbf24, 24px 0 0 #34d399;
  margin-right: 28px;
}

.shot-ui {
  background: #f3f4f6;
  color: #111827;
  border-radius: 0 0 14px 14px;
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-top: 0;
}

.shot-ui h4 {
  font-size: 18px;
  margin: 0 0 4px;
}

.shot-ui .muted {
  color: #64748b;
  font-size: 12px;
  margin-bottom: 12px;
}

.shot-line {
  width: 56px;
  height: 3px;
  background: #8b0000;
  border-radius: 2px;
  margin-bottom: 14px;
}

.shot-ui.teal .shot-line {
  background: #8b0000;
}

.shot-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.shot-cards.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.shot-cards.cols-2 {
  grid-template-columns: 1fr 1fr;
}

.mini {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px;
  min-height: 72px;
}

.mini b {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
}

.mini span {
  font-size: 11px;
  color: #64748b;
}

.shot-caption {
  color: var(--muted);
  font-size: 13px;
  margin-top: 8px;
}

.pos-ui {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 10px;
}

.pos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.pos-item {
  background: #fff;
  border-radius: 10px;
  padding: 12px 8px;
  text-align: center;
  font-size: 12px;
  border: 1px solid #e2e8f0;
}

.pos-pay {
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  border: 1px solid #e2e8f0;
}

.pay-btn {
  display: block;
  width: 100%;
  margin-top: 8px;
  border: 0;
  border-radius: 8px;
  padding: 9px;
  font-weight: 700;
  color: #fff;
}

.nexo-ui {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  min-height: 260px;
  background: #f8fafc;
  border-radius: 12px;
  overflow: hidden;
}

.nexo-side {
  background: linear-gradient(180deg, #3a3d42 0%, #8b0000 100%);
  color: #f4f4f5;
  padding: 12px;
  font-size: 12px;
}

.nexo-chat {
  padding: 12px;
}

.bubble {
  max-width: 85%;
  border-radius: 12px;
  padding: 8px 10px;
  font-size: 12px;
  margin-bottom: 8px;
}

.bubble.me {
  background: var(--brand);
  color: #fff;
  margin-left: auto;
}

.bubble.bot {
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #0f172a;
}

table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 12px 0 20px;
}

table.data th,
table.data td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

table.data th {
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
}

.form {
  display: grid;
  gap: 10px;
}

.form input,
.form textarea {
  width: 100%;
  background: #1a1b1d;
  border: 1px solid var(--line);
  color: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
}

.form textarea {
  min-height: 120px;
  resize: vertical;
}

.info-card {
  background: var(--card);
  border: 1px solid transparent;
  background-image: linear-gradient(var(--card), var(--card)), var(--brand);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 10px;
}

.info-card small {
  color: var(--muted);
}

.card {
  display: block;
}

.card .go {
  display: inline-block;
  margin-top: 14px;
  background: var(--brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 13px;
  font-weight: 650;
}

@media (max-width: 900px) {
  .shot-cards,
  .shot-cards.cols-3,
  .pos-ui,
  .pos-grid,
  .nexo-ui {
    grid-template-columns: 1fr;
  }
}
