:root {
  --ink: #12202a;
  --ink-soft: #4a5d6a;
  --paper: #eef3f5;
  --paper-2: #e2eaee;
  --forest: #06343b;
  --forest-2: #0a4a54;
  --leaf: #0f8a8a;
  --mint: #5fd0c8;
  --amber: #ffb347;
  --amber-deep: #e89620;
  --coral: #ff6b4a;
  --tbs-red: #e31b23;
  --line: rgba(18, 32, 42, 0.12);
  --shadow: 0 24px 60px rgba(6, 52, 59, 0.22);
  --radius: 22px;
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(1200px 600px at 8% -8%, rgba(95, 208, 200, 0.28), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(255, 179, 71, 0.16), transparent 50%),
    linear-gradient(180deg, #f5f8fa 0%, var(--paper) 45%, #e6f0f1 100%);
  line-height: 1.55;
  overflow-x: hidden;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
.btn {
  font: inherit;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.container.narrow {
  width: min(100% - 2.5rem, 760px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(238, 243, 245, 0.78);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(238, 243, 245, 0.92);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-logo {
  height: 2.1rem;
  width: auto;
  display: block;
  object-fit: contain;
}

.brand-logo-foot {
  height: 1.75rem;
}

.hero-logo {
  height: 3.2rem;
  width: auto;
  margin-bottom: 1rem;
  display: block;
  object-fit: contain;
}

.brand-mark {
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: 0.7rem;
  background: var(--forest);
  color: var(--amber);
  font-size: 0.85rem;
}

.brand-name {
  font-size: 1.25rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav a {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--forest);
}

.nav-cta {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--tbs-red);
  color: #fff !important;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
  padding: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
  display: block;
}

.hero {
  position: relative;
  min-height: calc(100svh - 72px);
  display: grid;
  align-items: end;
  padding: 2.5rem 0 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(160deg, rgba(6, 52, 59, 0.96) 0%, rgba(10, 74, 84, 0.9) 42%, rgba(15, 138, 138, 0.58) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.06'%3E%3Cpath d='M0 80h160M80 0v160'/%3E%3C/g%3E%3C/svg%3E");
}

.hero-glow {
  position: absolute;
  width: 55vw;
  height: 55vw;
  right: -10%;
  bottom: -20%;
  background: radial-gradient(circle, rgba(243, 178, 62, 0.35), transparent 65%);
  filter: blur(10px);
  animation: drift 12s ease-in-out infinite alternate;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 30%, transparent 95%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #f2f8f9;
  padding-bottom: 2rem;
  max-width: 720px;
  margin-left: max(1.25rem, calc((100% - var(--max)) / 2));
  margin-right: auto;
  animation: rise 0.9s ease both;
}

.brand-hero {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.95;
  color: var(--tbs-red);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 18ch;
}

.hero-lead {
  margin: 1rem 0 0;
  max-width: 38ch;
  color: rgba(242, 248, 249, 0.82);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--tbs-red);
  color: #fff;
}

.btn-primary:hover {
  background: #ff2a33;
}

.btn-ghost {
  background: transparent;
  border-color: rgba(242, 248, 249, 0.35);
  color: #f2f8f9;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-demo {
  background: var(--leaf);
  color: #fff;
}

.btn-demo:hover {
  background: #0d9e9e;
}

.btn-block {
  width: 100%;
}

.hero-stage {
  position: relative;
  z-index: 2;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto 2rem;
  animation: rise 1.1s 0.15s ease both;
}

.pos-mock {
  border-radius: 24px 24px 0 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.97);
  color: var(--ink);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.35);
  transform: perspective(1200px) rotateX(4deg);
  transform-origin: center bottom;
}

.pos-mock-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 1rem;
  background: #e8eef1;
  border-bottom: 1px solid var(--line);
}

.pos-mock-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #b7c4cb;
}

.pos-mock-bar span:nth-child(1) { background: #ff6b4a; }
.pos-mock-bar span:nth-child(2) { background: #ffb347; }
.pos-mock-bar span:nth-child(3) { background: #0f8a8a; }

.pos-mock-bar strong {
  margin-left: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.pos-mock-body {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  min-height: 220px;
}

.pos-mock-body aside {
  padding: 1.1rem;
  background: linear-gradient(180deg, #0a4a54, #06343b);
  color: #f2f8f9;
}

.chip {
  display: inline-block;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(243, 178, 62, 0.2);
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.sku {
  padding: 0.7rem 0.8rem;
  margin-bottom: 0.55rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
}

.ticket {
  padding: 1.2rem 1.3rem;
}

.ticket-row,
.ticket-total {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px dashed var(--line);
  font-weight: 600;
}

.ticket-total {
  border-bottom: 0;
  margin-top: 0.35rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.ticket-pay {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: var(--forest);
  color: #fff;
  text-align: center;
  font-weight: 700;
}

.strip {
  background: var(--forest);
  color: rgba(242, 248, 249, 0.88);
  overflow: hidden;
}

.strip-inner {
  display: flex;
  gap: 2.5rem;
  padding: 1rem 0;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  width: max-content;
}

.strip-inner p {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.section {
  padding: 5.5rem 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.35);
}

.section-head {
  max-width: 620px;
  margin-bottom: 2.5rem;
}

.section-head.left {
  margin-bottom: 0;
}

.section-head h2,
.cta-band h2,
.price-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.section-head p,
.cta-inner p,
.price-desc {
  margin: 0.85rem 0 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.feature {
  grid-column: span 2;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.feature-wide {
  grid-column: span 6;
  background:
    linear-gradient(135deg, rgba(6, 52, 59, 0.96), rgba(15, 138, 138, 0.88)),
    var(--forest);
  color: #f2f8f9;
  border: 0;
}

.feature-wide p {
  color: rgba(242, 248, 249, 0.8);
}

.feature h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.feature p {
  margin: 0.7rem 0 0;
  color: var(--ink-soft);
}

.module-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.4rem;
}

.tab {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-weight: 700;
  cursor: pointer;
}

.tab.is-active {
  background: var(--forest);
  color: #fff;
  border-color: var(--forest);
}

.module-panel {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line);
}

.module-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1.5rem;
}

.module-list li {
  padding-left: 1rem;
  position: relative;
  color: var(--ink-soft);
}

.module-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--leaf);
}

.module-list strong {
  color: var(--ink);
}

.split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.tech-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.tech-list li {
  padding: 0.95rem 1.1rem;
  border-radius: 16px;
  background: var(--forest);
  color: #f2f8f9;
  font-weight: 700;
}

.section-pricing {
  background:
    radial-gradient(700px 320px at 80% 10%, rgba(243, 178, 62, 0.2), transparent 60%),
    transparent;
}

.section-demo {
  background:
    radial-gradient(800px 400px at 10% 50%, rgba(15, 138, 138, 0.12), transparent 55%),
    transparent;
}

.section-demo .tbs-enquiry {
  max-width: 560px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  background: #fff;
  border-radius: 22px;
  border: 1px solid var(--line);
}
.section-demo .tbs-enquiry label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
}
.section-demo .tbs-enquiry input,
.section-demo .tbs-enquiry select,
.section-demo .tbs-enquiry textarea {
  font: inherit;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.demo-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 2rem;
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.demo-badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(15, 138, 138, 0.12);
  color: var(--leaf);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

.demo-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 0.75rem;
}

.demo-local {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.demo-local a {
  color: var(--leaf);
  font-weight: 600;
}

.demo-credentials h4 {
  font-family: var(--font-display);
  margin: 0 0 1rem;
}

.cred-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.cred-box {
  padding: 1rem;
  border-radius: 16px;
  background: #eef4f6;
  display: grid;
  gap: 0.35rem;
}

.cred-role {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--leaf);
}

.cred-box code {
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 0.9rem;
  color: var(--ink);
}

.demo-includes {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--ink-soft);
}

.demo-includes li {
  margin-bottom: 0.35rem;
}

@media (max-width: 768px) {
  .demo-card {
    grid-template-columns: 1fr;
  }
}

.price-card {
  width: min(100%, 560px);
  margin-inline: auto;
  padding: 2rem;
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.price-badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(227, 27, 35, 0.1);
  color: var(--tbs-red);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.price-breakdown {
  margin: 1.5rem 0;
  border-radius: 18px;
  background: #eef4f6;
  padding: 0.4rem 1rem;
}

.price-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}

.price-row:last-child {
  border-bottom: 0;
}

.price-row.total {
  color: var(--ink);
  font-size: 1.15rem;
}

.price-row.total strong {
  color: var(--forest);
  font-family: var(--font-display);
  font-size: 1.55rem;
}

.price-includes {
  margin: 0 0 1.4rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.price-includes li {
  padding-left: 1.3rem;
  position: relative;
  color: var(--ink-soft);
}

.price-includes li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--leaf);
  font-weight: 800;
}

.price-note {
  margin: 0.9rem 0 0;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.price-note a {
  color: var(--forest);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--line);
  padding: 0.35rem 1rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 0.9rem 0;
  list-style: none;
  font-family: var(--font-display);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

.cta-band {
  margin: 0 1.25rem 3rem;
  border-radius: 28px;
  background:
    linear-gradient(135deg, #06343b 0%, #0a4a54 55%, #0f8a8a 100%);
  color: #f2f8f9;
  overflow: hidden;
  position: relative;
}

.cta-band::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -40px;
  top: -60px;
  background: radial-gradient(circle, rgba(243, 178, 62, 0.35), transparent 70%);
}

.cta-inner {
  position: relative;
  z-index: 1;
  padding: 3.5rem 0;
  text-align: center;
}

.cta-inner p {
  color: rgba(242, 248, 249, 0.8);
  max-width: 42ch;
  margin-inline: auto;
}

.cta-inner .btn {
  margin-top: 1.4rem;
}

.site-footer {
  padding: 3rem 0 1.5rem;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.35);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.brand-foot {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.footer-inner p {
  max-width: 36ch;
  color: var(--ink-soft);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
  align-content: flex-start;
  font-weight: 700;
}

.footer-base {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes drift {
  from { transform: translate(-2%, 2%) scale(1); }
  to { transform: translate(4%, -4%) scale(1.08); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature,
  .feature-wide {
    grid-column: auto;
  }

  .module-list,
  .split {
    grid-template-columns: 1fr;
  }

  .pos-mock-body {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.25rem 1rem;
    background: rgba(238, 243, 245, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.85rem 0.2rem;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    margin-top: 0.5rem;
    text-align: center;
  }

  .hero-content {
    margin-left: 1.25rem;
    margin-right: 1.25rem;
  }

  .brand-hero {
    font-size: clamp(2.4rem, 12vw, 3.6rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-content,
  .hero-stage,
  .strip-inner,
  .hero-glow,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }
}
