@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
  --bg: #0b0b0c;
  --bg-2: #070708;
  --panel: rgba(18, 20, 23, 0.78);
  --panel-solid: #111317;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f7fbfa;
  --muted: #99a3ad;
  --soft: #6f7a84;
  --teal: #10a37f;
  --teal-2: #67e6cb;
  --teal-soft: rgba(16, 163, 127, 0.12);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container: 1180px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    radial-gradient(circle at 72% 12%, rgba(16, 163, 127, 0.16), transparent 30rem),
    var(--bg);
  background-size: 58px 58px, 58px 58px, auto, auto;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.34) 100%);
  z-index: -1;
}

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

button {
  font: inherit;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

svg {
  width: 18px;
  height: 18px;
}

.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.text-teal {
  color: var(--teal-2);
}

.ambient {
  position: fixed;
  width: 30rem;
  height: 30rem;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(70px);
  opacity: 0.28;
  z-index: -1;
}

.ambient-one {
  top: -8rem;
  right: -10rem;
  background: var(--teal);
}

.ambient-two {
  bottom: -12rem;
  left: -12rem;
  background: #0e6956;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  padding-top: 20px;
}

.navbar-container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.navbar {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(7, 7, 8, 0.74);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.28);
  transition: height 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.navbar.shrink {
  height: 60px;
  background: rgba(7, 7, 8, 0.92);
  border-color: var(--line-strong);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}

.logo-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(16, 163, 127, 0.22);
  border-radius: 8px;
  background: rgba(16, 163, 127, 0.08);
}

.logo img,
.logo-mark img {
  width: 76%;
  height: 76%;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(16, 163, 127, 0.34));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 24px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 14px 34px rgba(16, 163, 127, 0.2);
}

.btn-primary:hover {
  transform: translateY(-1px);
  background: #12b88f;
  box-shadow: 0 16px 38px rgba(16, 163, 127, 0.28);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border-color: var(--line-strong);
}

.btn-secondary:hover {
  transform: translateY(-1px);
  border-color: rgba(16, 163, 127, 0.4);
  background: rgba(16, 163, 127, 0.08);
}

.menu-btn,
.close-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.hero-section {
  padding: 172px 0 96px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr);
  gap: 56px;
  align-items: center;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--teal-2);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 0 0 0 6px rgba(16, 163, 127, 0.12);
}

.hero-title {
  max-width: 760px;
  margin-top: 20px;
  font-size: clamp(2.7rem, 5vw, 5.2rem);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: 0;
}

.hero-word {
  display: inline-block;
}

.hero-description {
  max-width: 570px;
  margin-top: 24px;
  font-size: 1.08rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 570px;
  margin-top: 34px;
}

.trust-strip div {
  min-height: 82px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  color: var(--text);
  font-size: 0.96rem;
}

.trust-strip span {
  margin-top: 4px;
  color: var(--soft);
  font-size: 0.78rem;
}

.feature-card,
.security-row,
.pricing-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-dashboard {
  position: relative;
}

.dashboard-glow {
  position: absolute;
  inset: 12% 8% auto;
  height: 72%;
  border-radius: 999px;
  background: rgba(16, 163, 127, 0.24);
  filter: blur(70px);
  opacity: 0.72;
}

.dashboard-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.dashboard-frame::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(16, 163, 127, 0.22), transparent 30%, transparent 74%, rgba(255, 255, 255, 0.08));
}

.dashboard-topbar {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.24);
}

.dashboard-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 3;
  height: auto;
  object-fit: cover;
}

.dashboard-note {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: -22px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid rgba(16, 163, 127, 0.22);
  border-radius: 8px;
  background: rgba(7, 7, 8, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
}

.dashboard-note svg {
  color: var(--teal-2);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.window-dots span:first-child {
  background: var(--teal);
}

.console-status {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.console-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.console-status span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 0 0 12px var(--teal);
}


.section-padding {
  padding: 104px 0;
}

.section-heading-row {
  display: grid;
  grid-template-columns: 0.9fr 0.7fr;
  gap: 40px;
  align-items: end;
  margin-top: 16px;
  margin-bottom: 34px;
}

.section-heading-row h2,
.security-copy h2,
.pricing-card h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: 0;
}

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

.feature-card {
  min-height: 392px;
  padding: 26px;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 163, 127, 0.28);
  background: rgba(18, 22, 24, 0.88);
}

.feature-index {
  position: absolute;
  top: 22px;
  right: 24px;
  color: rgba(255, 255, 255, 0.12);
  font-size: 2.4rem;
  font-weight: 700;
}

.feature-icon-box {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(16, 163, 127, 0.22);
  border-radius: 8px;
  color: var(--teal-2);
  background: var(--teal-soft);
}

.feature-card h3 {
  margin-top: 24px;
  font-size: 1.24rem;
}

.feature-card p {
  margin-top: 10px;
  font-size: 0.92rem;
}

.barcode-scanner-widget,
.toggle-stock-widget,
.sqlite-resilience-widget {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
}

.barcode-scanner-widget {
  position: relative;
  overflow: hidden;
  padding: 15px;
}

.barcode-beam {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--teal-2);
  box-shadow: 0 0 12px var(--teal);
  animation: scan-vertical 2.5s ease-in-out infinite;
}

.barcode-code {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--soft);
  font-family: monospace;
  font-size: 0.76rem;
  letter-spacing: 1.8px;
}

.debounce-speed {
  margin-top: 8px;
  color: var(--teal-2);
  text-align: right;
  font-size: 0.72rem;
  font-weight: 700;
}

.toggle-stock-widget {
  display: flex;
  gap: 6px;
  padding: 5px;
}

.toggle-btn {
  flex: 1;
  height: 34px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
}

.toggle-btn.active {
  background: var(--teal);
  color: #fff;
}

.inventory-display {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.8rem;
}

.stock-tag {
  color: var(--teal-2);
  font-weight: 700;
}

.sqlite-resilience-widget {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px;
}

.sqlite-status {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.82rem;
}

.sqlite-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 0 0 12px var(--teal);
}

.wal-badge {
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--teal-2);
  font-size: 0.72rem;
  font-weight: 700;
}

.security-section {
  background: linear-gradient(180deg, transparent, rgba(16, 163, 127, 0.04), transparent);
}

.security-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 44px;
  align-items: start;
}

.security-copy {
  position: sticky;
  top: 118px;
}

.security-copy h2 {
  margin-top: 16px;
}

.security-copy p {
  margin-top: 18px;
  max-width: 510px;
}

.security-copy .btn {
  margin-top: 28px;
}

.security-features {
  display: grid;
  gap: 14px;
}

.security-row {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 22px;
}

.security-row-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(16, 163, 127, 0.22);
  border-radius: 8px;
  background: var(--teal-soft);
  color: var(--teal-2);
}

.security-row h3 {
  font-size: 1.08rem;
}

.security-row p {
  margin-top: 6px;
  font-size: 0.9rem;
}

.interactive-action-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  margin-top: 13px;
  padding: 8px 12px;
  border: 1px dashed rgba(16, 163, 127, 0.34);
  border-radius: 8px;
  background: rgba(16, 163, 127, 0.08);
  color: var(--teal-2);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: left;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.interactive-action-trigger:hover,
.interactive-action-trigger.locked {
  background: rgba(16, 163, 127, 0.15);
  border-color: var(--teal);
  border-style: solid;
}

.interactive-action-trigger.passive {
  cursor: default;
}

.pricing-section {
  padding-top: 70px;
}

.pricing-card {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 34px;
  padding: 34px;
  align-items: center;
  border-color: rgba(16, 163, 127, 0.22);
}

.pricing-card p {
  max-width: 470px;
  margin-top: 14px;
}

.price-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
}

.price-amount {
  color: var(--text);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1;
  font-weight: 700;
}

.price-sub {
  margin-top: 8px;
  color: var(--teal-2);
  font-weight: 700;
}

.pricing-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
  margin-bottom: 26px;
  list-style: none;
}

.pricing-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  opacity: 1;
  transform: translateX(0);
}

.js-enabled .pricing-checklist li {
  opacity: 0;
  transform: translateX(-10px);
}

.pricing-checklist span {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal-2);
}

.pricing-checklist svg {
  width: 14px;
  height: 14px;
}

.btn-wide {
  width: 100%;
}

.site-footer {
  padding: 68px 0 28px;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(140px, 0.6fr));
  gap: 34px;
  align-items: start;
}

.footer-brand p {
  max-width: 390px;
  margin-top: 16px;
  color: var(--soft);
  font-size: 0.92rem;
}

.footer-download {
  margin-top: 22px;
}

.footer-column {
  display: grid;
  gap: 10px;
}

.footer-column h3 {
  margin-bottom: 6px;
  color: var(--text);
  font-size: 0.88rem;
}

.footer-column a,
.footer-column span {
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-column a:hover {
  color: var(--teal-2);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.footer-bottom p {
  color: var(--soft);
  font-size: 0.82rem;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  z-index: 80;
  width: min(320px, 88vw);
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 34px;
  padding: 28px;
  border-left: 1px solid var(--line);
  background: rgba(7, 7, 8, 0.96);
  transition: right 0.25s ease;
}

.mobile-drawer.active {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.mobile-nav-links {
  display: grid;
  gap: 22px;
  list-style: none;
}

.mobile-nav-links a {
  color: var(--muted);
  font-weight: 600;
}

.mobile-download {
  margin-top: auto;
}

@keyframes scan-vertical {
  0%, 100% { top: 12%; }
  50% { top: 86%; }
}

@media (max-width: 1040px) {
  .hero-layout,
  .security-layout,
  .pricing-card {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-description,
  .trust-strip {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .security-copy {
    position: static;
  }

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

@media (max-width: 820px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .nav-links,
  .nav-actions .btn {
    display: none;
  }

  .menu-btn,
  .close-btn {
    display: grid;
    place-items: center;
  }

  .hero-section {
    padding-top: 132px;
  }

  .hero-layout {
    gap: 38px;
  }

  .trust-strip,
  .section-heading-row,
  .pricing-checklist {
    grid-template-columns: 1fr;
  }

  .dashboard-note {
    position: static;
    margin: 12px 0 0;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .pricing-card,
  .feature-card {
    padding: 22px;
  }

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