:root {
  --green: #0d9f6e;
  --light-green: #34d399;
  --dark-green: #047857;
  --navy: #1e293b;
  --dark: #0f172a;
  --gold: #f59e0b;
  --off-white: #f8fafc;
  --red: #ef4444;
  --line: #d9e4ef;
  --muted: #64748b;
  --white: #ffffff;
  --mono: "JetBrains Mono", "Consolas", monospace;
  --sans: "Inter", "DM Sans", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--dark);
  background:
    radial-gradient(circle at 12% 4%, rgba(13, 159, 110, 0.14), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(245, 158, 11, 0.10), transparent 26%),
    linear-gradient(180deg, #f8fafc 0%, #eef8f4 44%, #f8fafc 100%);
  font-family: var(--sans);
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
img { max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 16px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(217, 228, 239, 0.78);
  background: rgba(248, 250, 252, 0.86);
  backdrop-filter: blur(20px);
}

.brand, .header-actions, .hero-actions, .trust-row, .preview-topbar, .card-title, .final-cta div {
  display: flex;
  align-items: center;
}

.brand { gap: 12px; min-width: 222px; }
.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}
.brand strong, .brand em { display: block; }
.brand strong {
  color: var(--navy);
  font-size: 18px;
  font-weight: 900;
}
.brand em {
  margin-top: 2px;
  color: #748195;
  font-size: 10px;
  font-style: normal;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 18px;
}
.site-nav a {
  color: #475569;
  font-size: 14px;
  font-weight: 800;
}
.site-nav a:hover, .text-link:hover { color: var(--dark-green); }

.header-actions { justify-content: flex-end; gap: 12px; }
.text-link {
  color: var(--navy);
  font-size: 14px;
  font-weight: 850;
}
.primary-link, .secondary-link, .demo-section button, .large-head button, .pricing-grid a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0 16px;
  cursor: pointer;
  font-weight: 900;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.primary-link, .demo-section button, .large-head button, .pricing-grid a {
  background: linear-gradient(135deg, var(--green), var(--dark-green));
  color: var(--white);
  box-shadow: 0 14px 32px rgba(13, 159, 110, 0.22);
}
.primary-link:hover, .secondary-link:hover, .demo-section button:hover, .large-head button:hover, .pricing-grid a:hover {
  transform: translateY(-1px);
}
.secondary-link {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.76);
  color: var(--navy);
}
.large { min-height: 50px; padding: 0 22px; }

.menu-button {
  display: none;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--navy);
  font-weight: 850;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(480px, 1.08fr);
  gap: clamp(30px, 5vw, 78px);
  align-items: center;
  min-height: calc(100vh - 79px);
  padding: clamp(52px, 7vw, 92px) clamp(20px, 5vw, 72px) clamp(36px, 5vw, 70px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--dark-green);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 780px;
  margin-bottom: 24px;
  color: var(--dark);
  font-size: clamp(50px, 6.4vw, 88px);
  line-height: 0.95;
  letter-spacing: 0;
}
h2 {
  margin-bottom: 14px;
  color: var(--navy);
  font-size: clamp(31px, 4vw, 54px);
  line-height: 1.05;
}
h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 20px;
}
.hero-subtitle {
  max-width: 710px;
  margin-bottom: 28px;
  color: #475569;
  font-size: 20px;
  line-height: 1.72;
}
.hero-actions { gap: 12px; margin-bottom: 24px; }
.trust-row {
  flex-wrap: wrap;
  gap: 10px;
}
.trust-row span {
  border: 1px solid rgba(13, 159, 110, 0.16);
  border-radius: 999px;
  padding: 8px 11px;
  background: rgba(255, 255, 255, 0.72);
  color: #475569;
  font-size: 12px;
  font-weight: 850;
}

.dashboard-preview, .large-dashboard {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  background:
    radial-gradient(circle at 12% 6%, rgba(52, 211, 153, 0.20), transparent 30%),
    linear-gradient(145deg, #0f172a, #142139 58%, #0a1020);
  color: var(--white);
  box-shadow: 0 34px 96px rgba(15, 23, 42, 0.28);
}
.hero-dashboard {
  position: relative;
  overflow: hidden;
  padding: 24px;
}
.hero-dashboard::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.10;
  background-image:
    linear-gradient(rgba(255,255,255,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.12) 1px, transparent 1px);
  background-size: 34px 34px;
}
.hero-dashboard > * { position: relative; }
.preview-topbar {
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.preview-topbar div { display: flex; align-items: center; gap: 9px; }
.preview-topbar em {
  color: #94a3b8;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}
.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--light-green);
  box-shadow: 0 0 0 6px rgba(52, 211, 153, 0.12);
}

.preview-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}
.preview-metrics article, .preview-card {
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.075);
}
.preview-metrics article { padding: 16px; }
.preview-metrics span, .preview-card > span {
  display: block;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 850;
}
.preview-metrics strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-family: var(--mono);
  font-size: 24px;
}
.preview-metrics small {
  display: inline-flex;
  margin-top: 8px;
  color: #bbf7d0;
  font-weight: 850;
}
.preview-metrics .risk small { color: #fecaca; }

.preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
  gap: 12px;
  margin-bottom: 12px;
}
.preview-card { padding: 16px; }
.card-title {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.card-title span { color: #cbd5e1; font-weight: 900; }
.card-title strong {
  border: 1px solid rgba(52, 211, 153, 0.24);
  border-radius: 999px;
  padding: 6px 9px;
  background: rgba(13, 159, 110, 0.12);
  color: #bbf7d0;
  font-size: 11px;
}
.market-row {
  display: grid;
  grid-template-columns: minmax(112px, 0.7fr) minmax(120px, 1fr) minmax(72px, auto);
  align-items: center;
  gap: 16px;
  margin-top: 12px;
}
.market-row span {
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 850;
  min-width: 0;
}
.market-row i {
  display: block;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
}
.market-row i::before {
  content: "";
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--light-green));
}
.market-row b {
  color: #e2e8f0;
  font-family: var(--mono);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}
.market-row.best span, .market-row.best b { color: #bbf7d0; }
.nabiz-card {
  border-color: rgba(245, 158, 11, 0.26);
  background: rgba(245, 158, 11, 0.10);
}
.nabiz-card p {
  margin: 12px 0 10px;
  color: #fff;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 850;
}
.nabiz-card small { color: #fde68a; line-height: 1.5; }
.product-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px 112px 128px;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 16px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.07);
}
.product-row span { font-weight: 900; }
.product-row b, .product-row em, .product-row strong {
  color: #cbd5e1;
  font-size: 12px;
  font-style: normal;
}
.product-row strong { color: #bbf7d0; }

.section-panel, .problem-section, .product-preview-section, .use-cases-section, .demo-section, .final-cta, .public-footer {
  margin: 0 clamp(20px, 5vw, 72px) 28px;
}
.section-panel, .problem-section, .use-cases-section, .pricing-section {
  padding: clamp(30px, 4.5vw, 56px);
  border: 1px solid rgba(217, 228, 239, 0.86);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.80);
  box-shadow: 0 22px 70px rgba(15, 23, 42, 0.06);
}
.section-head { max-width: 800px; margin-bottom: 26px; }
.section-head.center {
  max-width: 840px;
  margin-inline: auto;
  text-align: center;
}
.section-head p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.problem-grid, .feature-grid, .steps-grid, .use-case-grid, .pricing-grid {
  display: grid;
  gap: 16px;
}
.problem-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.use-case-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pricing-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.problem-grid article, .feature-grid article, .steps-grid article, .use-case-grid article, .pricing-grid article {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  background: var(--white);
  box-shadow: 0 14px 44px rgba(15, 23, 42, 0.045);
}
.problem-grid span, .feature-grid span, .steps-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--green);
  font-family: var(--mono);
  font-weight: 950;
}
.feature-grid span, .steps-grid span {
  min-width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #e8f7f1;
}
.problem-grid p, .feature-grid p, .steps-grid p, .use-case-grid p, .pricing-grid li {
  color: var(--muted);
  line-height: 1.62;
}

.product-preview-section {
  padding: clamp(38px, 5vw, 68px) 0;
}
.large-dashboard {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  overflow: hidden;
  min-height: 620px;
}
.large-sidebar {
  border-right: 1px solid rgba(255, 255, 255, 0.10);
  padding: 24px;
  background: rgba(255, 255, 255, 0.045);
}
.large-sidebar strong, .large-sidebar span { display: block; }
.large-sidebar strong { color: #fff; font-size: 20px; }
.large-sidebar span { margin-top: 5px; color: #94a3b8; font-size: 13px; }
.large-sidebar nav {
  display: grid;
  gap: 8px;
  margin-top: 32px;
}
.large-sidebar i {
  border-radius: 12px;
  padding: 11px 12px;
  color: #cbd5e1;
  font-style: normal;
  font-weight: 800;
}
.large-sidebar i.active, .large-sidebar i:hover {
  background: rgba(13, 159, 110, 0.16);
  color: #bbf7d0;
}
.large-main { padding: 24px; }
.large-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.large-head span { color: #94a3b8; font-weight: 850; }
.large-head h3 { margin: 5px 0 0; color: #fff; font-size: 28px; }
.large-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(270px, 0.8fr);
  gap: 14px;
}
.wide { min-height: 260px; }
.recommendations p {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  margin: 12px 0 0;
  padding-top: 12px;
  color: #e2e8f0;
  line-height: 1.45;
}
.table-preview, .sources { grid-column: span 1; }
.table-preview .product-check-row, .sources div {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(104px, auto) minmax(74px, auto);
  gap: 16px;
  align-items: center;
  margin-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding-top: 12px;
}
.sources div { grid-template-columns: minmax(0, 1fr) auto; }
.table-preview b, .sources b { color: #fff; }
.table-preview em, .sources em {
  color: #94a3b8;
  font-style: normal;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-align: right;
}
.status-badge {
  justify-self: end;
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 12px;
  font-style: normal;
  line-height: 1;
  white-space: nowrap;
}
.status-badge.warning {
  color: #fde68a;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.24);
}
.status-badge.danger {
  color: #fecaca;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.24);
}
.status-badge.success {
  color: #bbf7d0;
  background: rgba(13, 159, 110, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.24);
}

.use-cases-section { padding-block: 34px; }
.use-case-grid article {
  min-height: 190px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.94), rgba(255,255,255,0.82));
}

.pricing-grid article {
  min-height: 365px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pricing-grid .highlight {
  border-color: rgba(13, 159, 110, 0.35);
  box-shadow: 0 22px 70px rgba(13, 159, 110, 0.12);
}
.pricing-grid strong {
  display: block;
  margin: 16px 0;
  color: var(--dark);
  font-family: var(--mono);
  font-size: 25px;
}
.pricing-grid ul {
  display: grid;
  gap: 9px;
  margin: 0 0 22px;
  padding-left: 18px;
}
.pricing-grid a { margin-top: auto; }

.demo-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1fr);
  gap: 32px;
  align-items: start;
  border-radius: 30px;
  padding: clamp(30px, 4.5vw, 56px);
  background:
    radial-gradient(circle at 88% 16%, rgba(52, 211, 153, 0.16), transparent 28%),
    linear-gradient(145deg, #0f172a, #142139);
  color: #fff;
}
.demo-section h2, .demo-section .eyebrow { color: #fff; }
.demo-section p { color: #cbd5e1; line-height: 1.65; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.demo-section label {
  display: grid;
  gap: 8px;
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 850;
}
.demo-section input, .demo-section select, .demo-section textarea {
  min-height: 50px;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  padding: 0 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}
.demo-section textarea {
  min-height: 118px;
  padding-top: 14px;
  resize: vertical;
}
.message-field {
  grid-column: 1 / -1;
}
.demo-section select { color-scheme: dark; }
.demo-section input::placeholder, .demo-section textarea::placeholder { color: #94a3b8; }
.demo-section button {
  width: 100%;
  margin-top: 12px;
  border: 0;
}

.final-cta {
  border-radius: 30px;
  padding: clamp(34px, 5vw, 68px);
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(13, 159, 110, 0.16), transparent 34%),
    #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 22px 70px rgba(15, 23, 42, 0.06);
}
.final-cta h2 { max-width: 760px; margin-inline: auto; }
.final-cta p:not(.eyebrow) {
  max-width: 720px;
  margin-inline: auto;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}
.final-cta div { justify-content: center; gap: 12px; margin-top: 24px; }

.public-footer {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.8fr);
  gap: 32px;
  padding: 34px clamp(20px, 5vw, 72px) 28px;
  border-top: 1px solid var(--line);
}
.footer-brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}
.footer-brand strong, .footer-brand span { display: block; }
.footer-brand strong { margin-top: 10px; color: var(--navy); font-size: 20px; }
.footer-brand span {
  max-width: 330px;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 760;
  line-height: 1.6;
}
.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.footer-columns h3 { font-size: 14px; }
.footer-columns a {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 720;
}
.footer-bottom {
  grid-column: 1 / -1;
  margin-top: 20px;
  color: var(--muted);
  font-size: 14px;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  max-width: min(420px, calc(100vw - 48px));
  transform: translateY(16px);
  opacity: 0;
  pointer-events: none;
  border: 1px solid rgba(13, 159, 110, 0.22);
  border-radius: 16px;
  padding: 14px 16px;
  background: #fff;
  color: var(--navy);
  box-shadow: 0 22px 70px rgba(15, 23, 42, 0.18);
  transition: 180ms ease;
  font-weight: 820;
}
.toast.visible { transform: translateY(0); opacity: 1; }

@media (max-width: 1180px) {
  .site-header { grid-template-columns: auto auto; }
  .site-nav, .header-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
  .hero, .demo-section { grid-template-columns: 1fr; }
  .feature-grid, .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-grid, .use-case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .menu-button { display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; }
  .site-nav, .header-actions {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 74px;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 14px;
    background: rgba(255,255,255,0.96);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
  }
  .site-header.menu-open .site-nav,
  .site-header.menu-open .header-actions {
    display: grid;
  }
  .site-header.menu-open .header-actions {
    top: 246px;
  }
  h1 { font-size: 46px; }
  .hero-actions, .final-cta div, .preview-topbar, .large-head {
    align-items: stretch;
    flex-direction: column;
  }
  .preview-metrics, .preview-grid, .problem-grid, .feature-grid, .steps-grid, .use-case-grid, .pricing-grid, .large-dashboard, .large-grid, .public-footer, .footer-columns, .form-grid {
    grid-template-columns: 1fr;
  }
  .large-sidebar { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.10); }
  .product-row {
    grid-template-columns: 1fr;
  }
  .market-row {
    grid-template-columns: minmax(92px, 0.8fr) minmax(0, 1fr) minmax(58px, auto);
    gap: 10px;
  }
  .table-preview .product-check-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .table-preview em,
  .status-badge {
    justify-self: start;
    text-align: left;
  }
}
