:root {
  --ast-primary: #4f46e5;
  --ast-violet: #7c3aed;
  --ast-blue: #2563eb;
  --ast-cyan: #06b6d4;
  --ast-green: #10b981;
  --ast-coral: #f97316;
  --ast-amber: #f59e0b;
  --ast-navy: #0f172a;
  --ast-slate: #475569;
  --ast-muted: #64748b;
  --ast-line: #e2e8f0;
  --ast-bg: #f8fafc;
  --ast-white: #ffffff;
  --ast-gradient: linear-gradient(135deg, #4f46e5 0%, #7c3aed 46%, #2563eb 100%);
  --ast-gradient-soft: linear-gradient(135deg, rgba(79, 70, 229, .13), rgba(6, 182, 212, .12));
  --ast-shadow: 0 18px 50px rgba(15, 23, 42, .11);
  --ast-shadow-soft: 0 12px 32px rgba(15, 23, 42, .08);
  --ast-radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ast-navy);
  background: var(--ast-bg);
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

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

.section-pad {
  padding: 96px 0;
}

.navbar-ast {
  padding: 18px 0;
  background: rgba(248, 250, 252, .94);
  border-bottom: 1px solid rgba(226, 232, 240, .72);
  transition: background .25s ease, box-shadow .25s ease, padding .25s ease, backdrop-filter .25s ease;
}

.navbar-ast.nav-scrolled {
  padding: 10px 0;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
  backdrop-filter: blur(18px);
}

.brand-mark,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ast-navy);
  font-weight: 800;
}

.brand-symbol {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: var(--ast-radius);
  color: var(--ast-white);
  background: var(--ast-gradient);
  box-shadow: 0 12px 28px rgba(79, 70, 229, .28);
}

.brand-copy {
  white-space: nowrap;
}

.navbar-nav .nav-link {
  color: #334155;
  font-weight: 600;
  font-size: 14px;
  padding-inline: 12px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--ast-primary);
}

.nav-login {
  color: var(--ast-navy);
  font-weight: 700;
  text-decoration: none;
}

.btn {
  border-radius: var(--ast-radius);
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-gradient {
  color: var(--ast-white);
  border: 0;
  background: var(--ast-gradient);
  box-shadow: 0 14px 30px rgba(79, 70, 229, .28);
}

.btn-gradient:hover,
.btn-gradient:focus {
  color: var(--ast-white);
  box-shadow: 0 18px 38px rgba(79, 70, 229, .34);
}

.btn-soft {
  color: var(--ast-primary);
  background: rgba(79, 70, 229, .09);
  border: 1px solid rgba(79, 70, 229, .16);
}

.btn-outline-gradient {
  color: var(--ast-primary);
  background: var(--ast-white);
  border: 1px solid rgba(79, 70, 229, .22);
  box-shadow: var(--ast-shadow-soft);
}

.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: 160px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 18% 20%, rgba(79, 70, 229, .12), transparent 28%),
    radial-gradient(circle at 80% 14%, rgba(6, 182, 212, .12), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, .04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .8), transparent 82%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  filter: blur(36px);
  opacity: .28;
}

.hero-glow-one {
  right: 8%;
  top: 18%;
  background: #7c3aed;
}

.hero-glow-two {
  right: 28%;
  bottom: 10%;
  background: #06b6d4;
}

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ast-primary);
  background: rgba(79, 70, 229, .1);
  border: 1px solid rgba(79, 70, 229, .18);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 18px;
}

.hero-content h1,
.section-heading h2,
.feature-split h2,
.demo-section h2,
.contact-section h2 {
  font-weight: 800;
  color: var(--ast-navy);
}

.hero-content h1 {
  font-size: clamp(2.55rem, 5vw, 5.3rem);
  line-height: 1.02;
  margin-bottom: 24px;
}

.gradient-text {
  color: transparent;
  background: var(--ast-gradient);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-lead {
  max-width: 640px;
  font-size: 1.08rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}

.chip-row span {
  color: #1e293b;
  font-size: 13px;
  font-weight: 800;
  padding: 9px 13px;
  background: var(--ast-white);
  border: 1px solid var(--ast-line);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .05);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
}

.hero-proof {
  margin-top: 18px;
  font-size: 14px;
  color: #334155;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 620px;
}

.dashboard-card,
.app-mockup,
.mini-ui,
.demo-form,
.testimonial-card {
  border: 1px solid rgba(226, 232, 240, .9);
  border-radius: var(--ast-radius);
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--ast-shadow);
}

.hero-dashboard {
  position: relative;
  z-index: 2;
  padding: 16px;
  margin-top: 44px;
  transform: perspective(1000px) rotateY(-5deg) rotateX(3deg);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ast-line);
}

.window-bar span,
.video-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}

.window-bar span:nth-child(1),
.video-top span:nth-child(1) {
  background: #fb7185;
}

.window-bar span:nth-child(2),
.video-top span:nth-child(2) {
  background: #fbbf24;
}

.window-bar span:nth-child(3),
.video-top span:nth-child(3) {
  background: #34d399;
}

.window-bar strong {
  margin-left: auto;
  color: #334155;
  font-size: 13px;
}

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

.metric-card {
  position: relative;
  overflow: hidden;
  padding: 16px;
  border-radius: var(--ast-radius);
  background: #f8fafc;
  border: 1px solid var(--ast-line);
}

.metric-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
}

.accent-blue::before { background: var(--ast-blue); }
.accent-green::before { background: var(--ast-green); }
.accent-purple::before { background: var(--ast-violet); }
.accent-cyan::before { background: var(--ast-cyan); }

.metric-card small,
.panel-head small,
.mock-topbar small {
  display: block;
  color: var(--ast-muted);
  font-weight: 700;
  font-size: 12px;
}

.metric-card strong {
  display: block;
  margin: 6px 0;
  font-size: 1.35rem;
}

.metric-card span {
  color: var(--ast-green);
  font-size: 12px;
  font-weight: 800;
}

.dashboard-body {
  display: grid;
  grid-template-columns: 1.55fr .95fr;
  gap: 12px;
}

.chart-panel,
.side-panel,
.mock-panel {
  padding: 16px;
  border: 1px solid var(--ast-line);
  border-radius: var(--ast-radius);
  background: #ffffff;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  font-weight: 800;
}

.bar-chart {
  height: 150px;
  display: flex;
  align-items: end;
  gap: 12px;
}

.bar-chart span {
  flex: 1;
  border-radius: 8px 8px 2px 2px;
  background: linear-gradient(180deg, #7c3aed, #06b6d4);
}

.inventory-state {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ast-line);
}

.pulse-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ast-green);
  box-shadow: 0 0 0 8px rgba(16, 185, 129, .12);
}

.mini-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.mini-list span,
.transaction-row,
.invoice-row,
.product-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #334155;
  font-size: 13px;
}

.transaction-row {
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: var(--ast-radius);
  background: var(--ast-gradient-soft);
  font-weight: 800;
}

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 13px;
  border-radius: var(--ast-radius);
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(226, 232, 240, .9);
  color: #1e293b;
  font-size: 13px;
  font-weight: 800;
  box-shadow: var(--ast-shadow-soft);
  animation: floatY 5s ease-in-out infinite;
}

.float-card i {
  color: var(--ast-primary);
}

.float-card-one { left: -8px; top: 88px; }
.float-card-two { right: 2px; top: 32px; animation-delay: .8s; }
.float-card-three { left: 24px; bottom: 118px; animation-delay: 1.2s; }
.float-card-four { right: -8px; bottom: 78px; animation-delay: 1.7s; }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.stats-strip {
  padding: 26px 0;
  background: var(--ast-white);
  border-block: 1px solid var(--ast-line);
}

.stat-item {
  height: 100%;
  padding: 20px;
  border-radius: var(--ast-radius);
  background: #f8fafc;
  text-align: center;
  border: 1px solid var(--ast-line);
}

.stat-item strong {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  color: var(--ast-navy);
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  line-height: 1;
}

.stat-item strong .counter {
  display: inline;
  margin-top: 0;
  color: inherit;
  font-weight: inherit;
}

.stat-item > span {
  display: block;
  margin-top: 8px;
  color: #334155;
  font-weight: 800;
}

.stat-item small {
  display: block;
  margin-top: 4px;
  color: var(--ast-muted);
  font-size: 11px;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading h2,
.feature-split h2,
.demo-section h2,
.contact-section h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.08;
  margin-bottom: 14px;
}

.feature-section,
.industries-section,
.faq-section {
  background: #ffffff;
}

.feature-section {
  background:
    radial-gradient(circle at 12% 4%, rgba(6, 182, 212, .08), transparent 26%),
    radial-gradient(circle at 86% 10%, rgba(124, 58, 237, .08), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.feature-grid {
  counter-reset: feature;
}

.feature-card,
.benefit-card,
.industry-card,
.process-step,
.benefit-metric-grid div {
  height: 100%;
  padding: 26px;
  border-radius: var(--ast-radius);
  background: #ffffff;
  border: 1px solid var(--ast-line);
  box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.feature-card {
  counter-increment: feature;
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  min-height: 214px;
  padding: 24px;
  overflow: hidden;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, rgba(79, 70, 229, .3), rgba(6, 182, 212, .14)) border-box;
  border: 1px solid transparent;
}

.feature-card::before {
  content: counter(feature, decimal-leading-zero);
  position: absolute;
  right: 20px;
  top: 18px;
  color: rgba(15, 23, 42, .06);
  font-size: 2.8rem;
  line-height: 1;
  font-weight: 800;
}

.feature-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  bottom: 24px;
  width: 3px;
  background: var(--ast-gradient);
  border-radius: 0 999px 999px 0;
  opacity: .75;
}

.feature-card:hover,
.benefit-card:hover,
.industry-card:hover,
.process-step:hover {
  transform: translateY(-6px);
  border-color: rgba(79, 70, 229, .32);
  box-shadow: var(--ast-shadow-soft);
}

.feature-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: var(--ast-radius);
  color: var(--ast-primary);
  background: #eef2ff;
  border: 1px solid rgba(79, 70, 229, .16);
  font-size: 23px;
}

.feature-icon i {
  line-height: 1;
}

.benefit-card i {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: var(--ast-radius);
  color: var(--ast-white);
  background: var(--ast-gradient);
  font-size: 22px;
}

.feature-copy {
  position: relative;
  z-index: 1;
}

.feature-copy span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 10px;
  color: #334155;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.feature-card h3,
.benefit-card h3,
.process-step h3 {
  font-size: 1.1rem;
  font-weight: 800;
}

.feature-card p,
.benefit-card p,
.process-step p {
  margin-bottom: 0;
  font-size: 14px;
}

.showcase-section {
  position: relative;
  background:
    linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
}

.showcase-wrap {
  position: relative;
}

.app-mockup {
  display: grid;
  grid-template-columns: 220px 1fr;
  overflow: hidden;
}

.mock-sidebar {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 14px;
  background: #0f172a;
}

.sidebar-brand {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin: 0 0 12px 8px;
  border-radius: var(--ast-radius);
  background: var(--ast-gradient);
  color: var(--ast-white);
  font-weight: 800;
}

.mock-sidebar a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 9px 11px;
  color: #cbd5e1;
  border-radius: var(--ast-radius);
  font-size: 14px;
  font-weight: 700;
}

.mock-sidebar a.active,
.mock-sidebar a:hover {
  color: var(--ast-white);
  background: rgba(255, 255, 255, .12);
}

.mock-content {
  padding: 22px;
  background: #f8fafc;
}

.mock-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.mock-topbar strong {
  display: block;
  font-size: 1.15rem;
}

.icon-button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--ast-line);
  border-radius: var(--ast-radius);
  background: #ffffff;
  color: var(--ast-navy);
}

.mock-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.mock-metrics div {
  padding: 14px;
  background: #ffffff;
  border: 1px solid var(--ast-line);
  border-radius: var(--ast-radius);
}

.mock-metrics span {
  display: block;
  color: var(--ast-muted);
  font-size: 12px;
  font-weight: 700;
}

.mock-metrics strong {
  display: block;
  margin-top: 6px;
}

.mock-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 14px;
}

.line-chart {
  position: relative;
  height: 220px;
  display: flex;
  align-items: end;
  gap: 16px;
}

.line-chart::before {
  content: "";
  position: absolute;
  inset: 18px 8px 42px;
  background: linear-gradient(135deg, transparent 42%, rgba(79, 70, 229, .12) 42%, rgba(6, 182, 212, .18) 100%);
  border-radius: var(--ast-radius);
}

.line-chart span {
  position: relative;
  flex: 1;
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, #2563eb, #10b981);
}

.line-chart span:nth-child(1) { height: 42%; }
.line-chart span:nth-child(2) { height: 74%; }
.line-chart span:nth-child(3) { height: 58%; }
.line-chart span:nth-child(4) { height: 90%; }
.line-chart span:nth-child(5) { height: 66%; }

.invoice-panel,
.products-panel {
  display: grid;
  gap: 12px;
}

.products-panel {
  grid-column: 1 / -1;
}

.feature-tag {
  position: absolute;
  z-index: 3;
  padding: 10px 13px;
  border-radius: var(--ast-radius);
  background: rgba(255, 255, 255, .88);
  border: 1px solid var(--ast-line);
  color: var(--ast-primary);
  font-size: 13px;
  font-weight: 800;
  box-shadow: var(--ast-shadow-soft);
}

.tag-one { top: 42px; right: -10px; }
.tag-two { left: -10px; bottom: 92px; }
.tag-three { right: 16%; bottom: -12px; }

.why-section {
  background:
    radial-gradient(circle at 8% 0%, rgba(249, 115, 22, .08), transparent 28%),
    radial-gradient(circle at 92% 20%, rgba(79, 70, 229, .1), transparent 30%),
    #f8fafc;
}

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

.industry-card {
  display: grid;
  min-height: 126px;
  place-items: center;
  text-align: center;
  gap: 12px;
  padding: 18px 12px;
}

.industry-card i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--ast-radius);
  color: var(--ast-primary);
  background: rgba(79, 70, 229, .1);
  font-size: 20px;
}

.industry-card span {
  font-size: 13px;
  font-weight: 800;
  color: #1e293b;
}

.management-section {
  background: #f8fafc;
}

.feature-split {
  padding: 40px 0;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1e293b;
  font-weight: 800;
}

.check-list li::before {
  content: "\F26E";
  font-family: "bootstrap-icons";
  color: var(--ast-green);
}

.mini-ui {
  padding: 22px;
}

.ui-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}

.ui-head span {
  color: var(--ast-primary);
  background: rgba(79, 70, 229, .1);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 800;
}

.invoice-table {
  display: grid;
  gap: 10px;
}

.invoice-table div {
  display: grid;
  grid-template-columns: 1.5fr .5fr .5fr .8fr;
  gap: 10px;
  padding: 12px;
  border-radius: var(--ast-radius);
  background: #f8fafc;
  color: #334155;
  font-size: 13px;
}

.invoice-table div:first-child {
  color: var(--ast-muted);
  font-weight: 800;
  background: #eef2ff;
}

.invoice-total {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  padding: 16px;
  border-radius: var(--ast-radius);
  color: var(--ast-white);
  background: var(--ast-gradient);
  font-weight: 800;
}

.stock-card {
  padding: 20px;
  border-radius: var(--ast-radius);
  color: var(--ast-white);
  background: linear-gradient(135deg, #0f172a, #2563eb);
}

.stock-card span {
  display: block;
  color: rgba(255, 255, 255, .75);
}

.stock-card strong {
  display: block;
  margin-top: 8px;
  font-size: 2.5rem;
}

.stock-lines {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.stock-lines span {
  position: relative;
  display: flex;
  justify-content: space-between;
  overflow: hidden;
  padding: 12px;
  border-radius: var(--ast-radius);
  background: #f8fafc;
  font-weight: 800;
}

.stock-lines span::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: var(--w);
  height: 3px;
  background: var(--ast-gradient);
}

.donut-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: center;
}

.donut {
  width: 180px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(#4f46e5 0 42%, #06b6d4 42% 70%, #10b981 70% 88%, #f59e0b 88% 97%, #e2e8f0 97% 100%);
  position: relative;
}

.donut::after {
  content: "";
  position: absolute;
  inset: 38px;
  border-radius: 50%;
  background: #ffffff;
}

.report-list {
  display: grid;
  gap: 12px;
}

.report-list span {
  display: flex;
  justify-content: space-between;
  color: #334155;
  font-weight: 800;
}

.process-section {
  background: #ffffff;
}

.process-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.process-line::before {
  content: "";
  position: absolute;
  left: 15%;
  right: 15%;
  top: 34px;
  height: 3px;
  background: var(--ast-gradient);
}

.process-step {
  position: relative;
  z-index: 2;
  text-align: center;
}

.process-step span {
  display: grid;
  width: 68px;
  height: 68px;
  margin: 0 auto 18px;
  place-items: center;
  color: var(--ast-white);
  background: var(--ast-gradient);
  border-radius: 50%;
  font-weight: 800;
  box-shadow: 0 14px 34px rgba(79, 70, 229, .28);
}

.dark-benefits {
  background:
    radial-gradient(circle at 18% 20%, rgba(6, 182, 212, .16), transparent 28%),
    linear-gradient(135deg, #0f172a 0%, #1e1b4b 52%, #172554 100%);
}

.section-heading.light h2,
.section-heading.light p {
  color: var(--ast-white);
}

.dark-benefits .section-label {
  color: #bfdbfe;
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .16);
}

.benefit-metric-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.benefit-metric-grid div {
  display: grid;
  place-items: center;
  min-height: 145px;
  text-align: center;
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .12);
  color: var(--ast-white);
  box-shadow: none;
}

.benefit-metric-grid i {
  font-size: 28px;
  color: #67e8f9;
}

.benefit-metric-grid span {
  font-weight: 800;
}

.demo-section {
  background: #f8fafc;
}

.video-preview {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  padding: 18px;
  border-radius: var(--ast-radius);
  background: linear-gradient(135deg, #0f172a, #312e81);
  box-shadow: var(--ast-shadow);
  cursor: pointer;
}

.video-top {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
}

.video-dashboard {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.video-dashboard div {
  min-height: 130px;
  border-radius: var(--ast-radius);
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .12);
}

.video-dashboard div:nth-child(4) {
  grid-column: span 2;
}

.play-button {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  color: var(--ast-primary);
  background: #ffffff;
  font-size: 36px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, .24);
}

.testimonials-section {
  background: #ffffff;
}

.testimonial-card {
  max-width: 860px;
  min-height: 280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 22px;
  padding: 32px;
}

.avatar {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border-radius: 50%;
  color: var(--ast-white);
  background: var(--ast-gradient);
  font-weight: 800;
}

.testimonial-card small {
  color: var(--ast-coral);
  font-weight: 800;
}

.testimonial-card h3 {
  margin: 6px 0 2px;
  font-weight: 800;
}

.testimonial-card span {
  color: var(--ast-muted);
  font-weight: 700;
}

.stars {
  color: #f59e0b;
  margin: 12px 0;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.carousel-control-prev,
.carousel-control-next {
  position: static;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--ast-radius);
  color: var(--ast-primary);
  background: #eef2ff;
  opacity: 1;
}

.ast-accordion {
  max-width: 900px;
  margin: 0 auto;
}

.accordion-item {
  margin-bottom: 12px;
  border: 1px solid var(--ast-line);
  border-radius: var(--ast-radius);
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .04);
}

.accordion-button {
  font-weight: 800;
  color: var(--ast-navy);
}

.accordion-button:not(.collapsed) {
  color: var(--ast-primary);
  background: #eef2ff;
  box-shadow: none;
}

.final-cta {
  padding: 82px 0;
  background: #ffffff;
}

.final-cta-inner {
  padding: clamp(34px, 6vw, 72px);
  text-align: center;
  border-radius: var(--ast-radius);
  color: var(--ast-white);
  background:
    radial-gradient(circle at 8% 20%, rgba(16, 185, 129, .26), transparent 30%),
    var(--ast-gradient);
  box-shadow: var(--ast-shadow);
}

.final-cta-inner h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 800;
}

.final-cta-inner p,
.final-cta-inner small {
  color: rgba(255, 255, 255, .86);
}

.contact-section {
  background: #f8fafc;
}

.contact-note {
  display: flex;
  align-items: start;
  gap: 10px;
  padding: 16px;
  border-radius: var(--ast-radius);
  background: #ffffff;
  border: 1px solid var(--ast-line);
  color: #334155;
  font-weight: 700;
}

.contact-note i {
  color: var(--ast-primary);
}

.demo-form {
  padding: 28px;
}

.form-label {
  color: #1e293b;
  font-weight: 800;
  font-size: 14px;
}

.form-control,
.form-select {
  min-height: 48px;
  border-radius: var(--ast-radius);
  border-color: #cbd5e1;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--ast-primary);
  box-shadow: 0 0 0 .25rem rgba(79, 70, 229, .13);
}

.form-success {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--ast-radius);
  color: #065f46;
  background: #d1fae5;
  border: 1px solid #a7f3d0;
  font-weight: 800;
}

.form-success.show {
  display: block;
}

.site-footer {
  padding: 64px 0 28px;
  background: #0f172a;
  color: #cbd5e1;
}

.site-footer p {
  max-width: 340px;
  color: #94a3b8;
}

.footer-brand {
  color: #ffffff;
  margin-bottom: 14px;
}

.site-footer h3 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.site-footer a:not(.footer-brand) {
  display: block;
  color: #94a3b8;
  margin-bottom: 10px;
  font-weight: 700;
}

.site-footer a:hover {
  color: #ffffff;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  display: grid !important;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: var(--ast-radius);
  color: #ffffff !important;
  background: rgba(255, 255, 255, .08);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: #94a3b8;
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }

@media (max-width: 1199.98px) {
  .industry-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

@media (max-width: 991.98px) {
  .section-pad {
    padding: 72px 0;
  }

  .navbar-collapse {
    margin-top: 14px;
    padding: 14px;
    border-radius: var(--ast-radius);
    background: #ffffff;
    box-shadow: var(--ast-shadow-soft);
  }

  .nav-actions {
    align-items: stretch !important;
  }

  .hero-section {
    min-height: auto;
    padding-top: 136px;
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-dashboard {
    transform: none;
  }

  .float-card {
    position: relative;
    inset: auto;
    display: inline-flex;
    margin: 0 8px 10px 0;
  }

  .app-mockup {
    grid-template-columns: 1fr;
  }

  .mock-sidebar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 14px;
  }

  .sidebar-brand {
    display: none;
  }

  .mock-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mock-layout {
    grid-template-columns: 1fr;
  }

  .feature-tag {
    display: none;
  }

  .process-line {
    grid-template-columns: 1fr;
  }

  .process-line::before {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .brand-copy {
    max-width: 210px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero-content h1 {
    font-size: clamp(2.35rem, 12vw, 3.25rem);
  }

  .cta-row .btn {
    width: 100%;
  }

  .dash-grid,
  .dashboard-body,
  .donut-row,
  .testimonial-card {
    grid-template-columns: 1fr;
  }

  .bar-chart {
    height: 120px;
  }

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

  .benefit-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .check-list {
    grid-template-columns: 1fr;
  }

  .mock-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .video-dashboard {
    grid-template-columns: 1fr 1fr;
  }

  .video-preview {
    min-height: 330px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .section-pad {
    padding: 60px 0;
  }

  .brand-symbol {
    width: 38px;
    height: 38px;
  }

  .brand-copy {
    max-width: 170px;
    font-size: 14px;
  }

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

  .chip-row span {
    flex: 1 1 calc(50% - 10px);
    text-align: center;
  }

  .feature-card {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 22px;
  }

  .feature-card::before {
    right: 16px;
    top: 16px;
    font-size: 2.2rem;
  }

  .mock-sidebar a {
    font-size: 12px;
    padding: 8px;
  }

  .invoice-table div {
    grid-template-columns: 1.2fr .4fr .4fr .8fr;
    font-size: 11px;
    gap: 6px;
  }

  .demo-form,
  .testimonial-card {
    padding: 22px;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
