:root {
  --primary: #0A2E73;
  --secondary: #1E5EFF;
  --accent: #FF4D4F;
  --navy: #081C3A;
  --bg: #F8FAFC;
  --white: #FFFFFF;
  --ink: #0F172A;
  --muted: #5B6B84;
  --line: #E2E8F0;
  --success: #14A06F;
  --warning: #F59E0B;
  --shadow: 0 24px 70px rgba(8, 28, 58, 0.14);
  --shadow-soft: 0 16px 38px rgba(8, 28, 58, 0.08);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.sr-only,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip-link:focus {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow);
}

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

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

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(226, 232, 240, 0.82);
  box-shadow: 0 10px 32px rgba(8, 28, 58, 0.04);
  backdrop-filter: blur(18px);
}

.top-strip {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
}

.top-strip__inner {
  display: flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.navbar {
  display: grid;
  min-height: 86px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: 0;
}

.brand img {
  width: 188px;
  height: 62px;
  object-fit: contain;
}

.brand span {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  color: #20314f;
  font-size: 15px;
  font-weight: 700;
}

.nav-links a {
  position: relative;
}

.nav-links a:after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--secondary);
  transition: transform 180ms ease;
}

.nav-links a:hover:after,
.nav-links a:focus-visible:after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  place-items: center;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  background: var(--navy);
}

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 13px 20px;
  font-weight: 800;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.btn--sm {
  min-height: 42px;
  padding: 10px 16px;
}

.btn--primary {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: var(--white);
  box-shadow: 0 16px 32px rgba(30, 94, 255, 0.28);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  box-shadow: 0 20px 42px rgba(30, 94, 255, 0.34);
}

.btn--secondary {
  border-color: rgba(10, 46, 115, 0.18);
  background: rgba(255, 255, 255, 0.82);
  color: var(--primary);
  box-shadow: var(--shadow-soft);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 86px;
  color: var(--white);
  background:
    radial-gradient(circle at 15% 20%, rgba(30, 94, 255, 0.35), transparent 32%),
    radial-gradient(circle at 85% 15%, rgba(255, 77, 79, 0.22), transparent 28%),
    linear-gradient(135deg, #071832 0%, #0A2E73 55%, #081C3A 100%);
}

.hero:after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 140px;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.35;
  pointer-events: none;
}

.hero__glow--one {
  top: 18%;
  left: -80px;
  background: #1E5EFF;
}

.hero__glow--two {
  right: -100px;
  bottom: 12%;
  background: #FF4D4F;
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  gap: 48px;
  align-items: center;
}

.hero__grid > *,
.hero__visual,
.product-window,
.dash-main,
.preview-ui {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border: 1px solid rgba(30, 94, 255, 0.18);
  border-radius: 999px;
  padding: 5px 12px;
  background: rgba(30, 94, 255, 0.1);
  color: #BFD3FF;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.section-heading .eyebrow,
.section-heading--left .eyebrow,
.demo-card .eyebrow {
  color: var(--secondary);
  background: rgba(30, 94, 255, 0.08);
}

.hero h1 {
  margin: 18px 0 18px;
  max-width: 760px;
  font-size: clamp(46px, 6vw, 82px);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: 0;
}

.hero p {
  max-width: 640px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
}

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

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero__trust span {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  font-weight: 700;
}

.hero__visual {
  perspective: 1400px;
}

.product-window {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(20px);
}

.product-window--hero {
  transform: rotateY(-7deg) rotateX(4deg);
  transform-origin: center;
  animation: floatWindow 6s ease-in-out infinite;
}

@keyframes floatWindow {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

.window-bar {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.78);
  padding: 0 18px;
  background: rgba(248, 250, 252, 0.9);
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #CBD5E1;
}

.window-bar span:first-child {
  background: var(--accent);
}

.window-bar span:nth-child(2) {
  background: var(--warning);
}

.window-bar span:nth-child(3) {
  background: var(--success);
}

.window-bar strong {
  margin-left: 8px;
  color: #24324c;
  font-size: 13px;
}

.dashboard-layout {
  display: grid;
  grid-template-columns: 132px 1fr;
  min-height: 520px;
  color: var(--ink);
}

.dash-sidebar {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 22px 14px;
  background: #F1F5F9;
  color: #52627a;
  font-size: 12px;
  font-weight: 800;
}

.dash-sidebar b {
  margin-bottom: 14px;
  color: var(--primary);
  font-size: 16px;
}

.dash-sidebar span {
  border-radius: var(--radius-sm);
  padding: 9px 10px;
}

.dash-sidebar .active {
  background: var(--primary);
  color: var(--white);
}

.dash-main {
  padding: 24px;
  background:
    linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  overflow: hidden;
}

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

.dash-head small,
.preview-copy small {
  color: var(--secondary);
  font-weight: 900;
  text-transform: uppercase;
}

.dash-head h2,
.preview-copy h3 {
  margin: 3px 0 0;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: 0;
}

.status-pill {
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(20, 160, 111, 0.12);
  color: var(--success);
  font-size: 12px;
  font-weight: 900;
}

.kpi-grid,
.mini-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.kpi-grid article,
.mini-kpis span,
.chart-card,
.insight-row > div,
.preview-ui,
.task-list span {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(8, 28, 58, 0.06);
}

.kpi-grid article {
  padding: 14px;
}

.kpi-grid small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.kpi-grid strong {
  display: block;
  margin-top: 4px;
  color: var(--navy);
  font-size: 24px;
  line-height: 1;
}

.positive,
.warning {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 900;
}

.positive {
  color: var(--success);
}

.warning {
  color: var(--warning);
}

.chart-card {
  margin-top: 14px;
  padding: 18px;
  overflow: hidden;
}

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

.chart-bars span {
  flex: 1;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, #1E5EFF, #8FB0FF);
  animation: growBar 900ms ease both;
}

@keyframes growBar {
  from { transform: scaleY(0.3); opacity: 0.4; }
  to { transform: scaleY(1); opacity: 1; }
}

.insight-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

.insight-row > div {
  padding: 14px;
}

.insight-row strong {
  color: var(--navy);
}

.insight-row p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.metric-card,
.module-card,
.ai-card,
.benefit-item,
.testimonial-card,
.process-step,
.faq-list details {
  border: 1px solid rgba(226, 232, 240, 0.86);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.metric-card {
  padding: 28px;
  text-align: center;
}

.metric-card strong {
  display: block;
  color: var(--primary);
  font-size: 42px;
  line-height: 1;
  letter-spacing: 0;
}

.metric-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 800;
}

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

.section-heading--left {
  margin-inline: 0;
  text-align: left;
}

.section-heading h2,
.demo-card h2 {
  margin: 14px 0 12px;
  color: var(--navy);
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: 0;
}

.section-heading p,
.demo-card p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.module-card {
  position: relative;
  overflow: hidden;
  min-height: 236px;
  padding: 24px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.module-card:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30, 94, 255, 0.1), rgba(255, 77, 79, 0.04));
  opacity: 0;
  transition: opacity 180ms ease;
}

.module-card:hover {
  transform: translateY(-6px);
  border-color: rgba(30, 94, 255, 0.3);
  box-shadow: var(--shadow);
}

.module-card:hover:before {
  opacity: 1;
}

.module-card > * {
  position: relative;
}

.module-card span,
.process-step span {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--secondary);
  font-size: 13px;
  font-weight: 900;
}

.module-card h3,
.ai-card h3,
.benefit-item h3,
.testimonial-card strong,
.process-step h3,
.faq-list summary {
  margin: 0;
  color: var(--navy);
  font-weight: 900;
  letter-spacing: 0;
}

.module-card p,
.ai-card p,
.benefit-item p,
.process-step p,
.faq-list p,
.testimonial-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.ai-section {
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(10, 46, 115, 0.96), rgba(8, 28, 58, 0.98)),
    var(--navy);
  color: var(--white);
}

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

.ai-section .section-heading p {
  color: rgba(255, 255, 255, 0.75);
}

.ai-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 44px;
  align-items: center;
}

.ai-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.ai-card {
  border-color: rgba(255, 255, 255, 0.12);
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
}

.ai-card h3 {
  color: var(--white);
}

.ai-card p {
  color: rgba(255, 255, 255, 0.72);
}

.ai-card--wide {
  grid-column: 1 / -1;
}

.showcase {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.showcase-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.showcase-tabs button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 15px;
  background: var(--white);
  color: #334155;
  font-weight: 900;
}

.showcase-tabs button.active {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
}

.showcase .product-window {
  box-shadow: none;
}

.dashboard-preview {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 22px;
  min-height: 430px;
  padding: 28px;
  color: var(--ink);
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
}

.preview-copy {
  align-self: center;
}

.preview-copy h3 {
  margin-top: 8px;
  font-size: clamp(28px, 3vw, 42px);
}

.preview-copy p {
  color: var(--muted);
  font-size: 17px;
}

.preview-ui {
  padding: 18px;
}

.mini-kpis span {
  padding: 16px;
  color: var(--primary);
  font-size: 24px;
  font-weight: 900;
  text-align: center;
}

.line-graph {
  position: relative;
  height: 170px;
  margin: 18px 0;
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, rgba(30, 94, 255, 0.14), rgba(255, 77, 79, 0.08)),
    repeating-linear-gradient(0deg, transparent 0 34px, rgba(148, 163, 184, 0.22) 35px 36px);
  overflow: hidden;
}

.line-graph:before {
  content: "";
  position: absolute;
  inset: 28px 24px;
  clip-path: polygon(0 70%, 18% 52%, 34% 58%, 50% 35%, 68% 46%, 84% 22%, 100% 32%, 100% 100%, 0 100%);
  background: linear-gradient(180deg, rgba(30, 94, 255, 0.72), rgba(30, 94, 255, 0.08));
}

.task-list {
  display: grid;
  gap: 10px;
}

.task-list span {
  padding: 12px 14px;
  color: var(--muted);
  font-weight: 800;
}

.benefit-grid,
.faq-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 40px;
}

.benefit-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.benefit-item,
.testimonial-card,
.process-step {
  padding: 24px;
}

.testimonial-grid,
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.process-steps {
  grid-template-columns: repeat(4, 1fr);
}

.testimonials {
  background: var(--white);
}

.testimonial-card p {
  font-size: 17px;
}

.testimonial-card strong,
.testimonial-card span {
  display: block;
}

.testimonial-card strong {
  margin-top: 22px;
}

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

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

.faq-list details {
  padding: 20px 22px;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary:after {
  content: "+";
  float: right;
  color: var(--secondary);
}

.faq-list details[open] summary:after {
  content: "-";
}

.demo-cta {
  padding: 92px 0;
  background: linear-gradient(135deg, #081C3A, #0A2E73);
}

.demo-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: 38px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.demo-card h2 {
  color: var(--white);
}

.demo-card p {
  color: rgba(255, 255, 255, 0.75);
}

.demo-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  border-radius: var(--radius-md);
  padding: 20px;
  background: var(--white);
}

.demo-form label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
}

.demo-form input,
.demo-form select {
  min-height: 48px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 12px;
  color: var(--ink);
  background: var(--white);
}

.demo-form input:focus,
.demo-form select:focus,
.showcase-tabs button:focus-visible,
.btn:focus-visible,
.nav-toggle:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(30, 94, 255, 0.28);
  outline-offset: 3px;
}

.demo-form button,
.form-note {
  grid-column: 1 / -1;
}

.form-note {
  margin: 0;
  color: var(--muted) !important;
  font-size: 13px !important;
  text-align: center;
}

.form-note a {
  color: var(--primary);
  font-weight: 900;
}

.footer {
  background: #06152B;
  color: rgba(255, 255, 255, 0.75);
  padding: 62px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.75fr 0.75fr 1fr;
  gap: 34px;
}

.brand--footer {
  color: var(--white);
}

.brand--footer img {
  width: 160px;
  height: 52px;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  background: var(--white);
}

.footer h3 {
  margin: 0 0 14px;
  color: var(--white);
}

.footer p {
  margin: 14px 0 0;
}

.footer nav {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer nav a:hover {
  color: var(--white);
}

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

.modal {
  position: fixed;
  z-index: 300;
  inset: 0;
  display: none;
  place-items: center;
  padding: 24px;
}

.modal.is-open {
  display: grid;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 28, 58, 0.68);
  backdrop-filter: blur(8px);
}

.modal__panel {
  position: relative;
  width: min(560px, 100%);
  border-radius: var(--radius-lg);
  padding: 34px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.modal__panel h2 {
  margin: 0;
  color: var(--navy);
  font-size: 34px;
  letter-spacing: 0;
}

.modal__panel p {
  color: var(--muted);
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  font-size: 24px;
}

.reveal {
  transform: translateY(22px);
  opacity: 0;
  transition: transform 650ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 650ms ease;
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 1080px) {
  .hero__grid,
  .ai-grid,
  .benefit-grid,
  .faq-grid,
  .demo-card {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    max-width: 760px;
    margin-inline: auto;
  }

  .module-grid,
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .metric-grid,
  .testimonial-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 820px) {
  .top-strip {
    display: none;
  }

  .navbar {
    min-height: 74px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
  }

  .nav-toggle {
    display: flex !important;
    position: fixed;
    top: 16px;
    right: auto;
    left: min(calc(100vw - 58px), 318px);
    z-index: 120;
    align-items: center;
    justify-content: center;
    border-color: var(--secondary);
    background: var(--secondary);
    box-shadow: 0 10px 22px rgba(30, 94, 255, 0.22);
    justify-self: end;
  }

  .nav-toggle span:not(.sr-only) {
    background: var(--white);
  }

  .nav-cta {
    display: none;
  }

  .nav-links {
    position: fixed;
    top: 74px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 16px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    border-radius: var(--radius-sm);
    padding: 10px 12px;
  }

  .hero {
    padding: 66px 0 60px;
  }

  .hero__grid {
    display: block;
  }

  .hero h1 {
    font-size: clamp(40px, 12vw, 62px);
  }

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

  .dash-sidebar {
    display: none;
  }

  .product-window--hero {
    transform: none;
  }
}

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

  .section-pad,
  .demo-cta {
    padding: 64px 0;
  }

  .brand img {
    width: 150px;
    height: 50px;
  }

  .hero p,
  .section-heading p,
  .demo-card p {
    font-size: 16px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(36px, 12vw, 44px);
    line-height: 1.04;
    letter-spacing: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .hero h1 span {
    display: block;
  }

  .hero p {
    max-width: 32ch;
    overflow-wrap: break-word;
  }

  .hero__copy {
    width: 100%;
    min-width: 0;
    overflow: hidden;
  }

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

  .hero__visual {
    width: 100%;
    max-width: 100%;
    margin-top: 34px;
    overflow: hidden;
  }

  .hero__visual .product-window {
    width: 100%;
    max-width: 100%;
  }

  .hero__trust {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero__trust span {
    width: 100%;
    text-align: center;
  }

  .hero__actions,
  .hero__actions .btn {
    width: 100%;
  }

  .metric-grid,
  .module-grid,
  .ai-card-grid,
  .benefit-list,
  .testimonial-grid,
  .process-steps,
  .footer-grid,
  .demo-form,
  .kpi-grid,
  .insight-row,
  .mini-kpis {
    grid-template-columns: 1fr;
  }

  .dashboard-layout {
    min-height: auto;
  }

  .dash-main,
  .dashboard-preview,
  .demo-card {
    padding: 20px;
  }

  .dash-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .chart-bars {
    gap: 7px;
  }

  .chart-bars span:last-child {
    display: none;
  }

  .chart-card {
    padding: 14px;
  }

  .window-bar {
    padding: 0 12px;
  }

  .window-bar strong {
    max-width: 210px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .showcase {
    padding: 12px;
  }

  .showcase-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

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

.site-page {
  display: none;
}

.site-page.is-active {
  display: block;
}

.nav-link,
.dropdown-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: inherit;
  font-weight: 800;
}

.dropdown-trigger:after {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: -3px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

.has-dropdown.is-open .dropdown-trigger:after {
  transform: rotate(225deg);
}

.nav-item {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  width: max-content;
  min-width: 270px;
  max-width: 330px;
  transform: translateX(-50%) translateY(8px);
  visibility: hidden;
  opacity: 0;
  display: grid;
  gap: 4px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--radius-md);
  padding: 10px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu,
.has-dropdown.is-open .dropdown-menu {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  border-radius: var(--radius-sm);
  padding: 11px 12px;
  color: #263956;
  font-size: 14px;
  line-height: 1.25;
  white-space: normal;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
  background: rgba(30, 94, 255, 0.08);
  color: var(--primary);
}

.dropdown-menu a:after,
.dropdown-trigger:before {
  display: none;
}

.nav-link.is-active {
  color: var(--secondary);
}

.btn--red {
  background: var(--accent);
  box-shadow: 0 16px 34px rgba(255, 77, 79, 0.24);
}

.btn--light {
  border-color: rgba(255, 255, 255, 0.36);
  color: var(--white);
}

.text-link {
  color: var(--secondary);
  font-weight: 900;
}

.page-hero,
.product-detail-hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0;
  background:
    radial-gradient(circle at 8% 18%, rgba(30, 94, 255, 0.16), transparent 32%),
    radial-gradient(circle at 92% 18%, rgba(255, 77, 79, 0.12), transparent 30%),
    linear-gradient(135deg, #081C3A 0%, #0A2E73 62%, #11284E 100%);
  color: var(--white);
}

.page-hero h1,
.product-detail-hero h1 {
  margin: 18px 0;
  font-size: clamp(40px, 5.4vw, 74px);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.page-hero p,
.product-detail-hero p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.86fr);
  gap: 46px;
  align-items: center;
}

.page-hero__grid > * {
  min-width: 0;
}

.page-hero__grid > img,
.yukthi-visual > img,
.culture-image,
.service-card img {
  width: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.page-hero__grid > img {
  aspect-ratio: 4 / 3;
}

.product-platforms,
.muted-band {
  background: #EEF4FF;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.platform-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(260px, 0.84fr);
  gap: 24px;
  min-height: 560px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: 30px;
  color: var(--white);
  box-shadow: var(--shadow);
}

.platform-card--blue {
  background: linear-gradient(135deg, #0A2E73 0%, #1E5EFF 100%);
}

.platform-card--red {
  background: linear-gradient(135deg, #841E2D 0%, #FF4D4F 100%);
}

.product-brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: max-content;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.product-brand-mark strong,
.product-brand-mark small {
  display: block;
}

.product-brand-mark strong {
  font-size: 17px;
  line-height: 1.15;
}

.product-brand-mark small {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.mark-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--primary);
  font-size: 22px;
  font-weight: 900;
}

.platform-copy {
  grid-column: 1;
  align-self: end;
}

.platform-copy h3 {
  margin: 24px 0 18px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
  letter-spacing: 0;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
}

.check-list li:before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(-45deg);
}

.platform-screen {
  align-self: center;
  min-height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius-md);
  padding: 18px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(8, 28, 58, 0.18);
}

.platform-screen--large {
  min-height: 430px;
}

.screen-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  color: var(--primary);
}

.screen-top span {
  width: 42px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
}

.screen-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 18px 0;
}

.screen-kpis b {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 10px;
  background: #F8FAFC;
  color: var(--primary);
  text-align: center;
  font-size: 13px;
}

.screen-chart {
  height: 150px;
  border-radius: var(--radius-sm);
  background:
    linear-gradient(180deg, rgba(30, 94, 255, 0.12), transparent),
    repeating-linear-gradient(90deg, transparent 0 36px, rgba(226, 232, 240, 0.8) 36px 37px),
    linear-gradient(135deg, transparent 0 18%, rgba(30, 94, 255, 0.22) 18% 20%, transparent 20% 42%, rgba(30, 94, 255, 0.42) 42% 45%, transparent 45% 100%);
}

.screen-chart--red,
.line-graph--red {
  filter: hue-rotate(130deg) saturate(1.25);
}

.screen-rows {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.screen-rows span {
  height: 14px;
  border-radius: 999px;
  background: #E2E8F0;
}

.screen-rows span:nth-child(2) {
  width: 82%;
}

.screen-rows span:nth-child(3) {
  width: 68%;
}

.split-grid,
.product-info-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
  align-items: center;
}

.contact-grid {
  grid-template-columns: repeat(3, 1fr);
}

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

.service-card,
.position-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.service-card img {
  height: 210px;
  border-radius: 0;
  box-shadow: none;
}

.service-card h3,
.service-card p,
.position-card h3,
.position-card p,
.position-card span {
  margin-inline: 22px;
}

.service-card h3,
.position-card h3 {
  margin-top: 22px;
  color: var(--navy);
}

.service-card p,
.position-card p {
  color: var(--muted);
}

.position-card {
  padding: 24px 0;
}

.position-card span {
  display: inline-flex;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(30, 94, 255, 0.08);
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
}

.culture-image {
  aspect-ratio: 4 / 3;
}

.yukthi-hero {
  background:
    radial-gradient(circle at 8% 18%, rgba(30, 94, 255, 0.2), transparent 34%),
    linear-gradient(135deg, #06152B 0%, #0A2E73 72%, #152D58 100%);
}

.yukthi-visual {
  position: relative;
  min-height: 520px;
}

.yukthi-visual > img {
  height: 320px;
  opacity: 0.82;
}

.chat-preview {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(440px, 92%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-md);
  padding: 18px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.chat-preview__head {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.chat-preview__head span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-weight: 900;
}

.chat-preview__head small {
  grid-column: 2;
  color: var(--success);
  font-weight: 900;
}

.bot-bubble,
.user-bubble {
  width: fit-content;
  max-width: 92%;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 14px !important;
}

.bot-bubble {
  background: #F1F5F9;
  color: #24324A !important;
}

.user-bubble {
  margin-left: auto;
  background: var(--primary);
  color: var(--white) !important;
}

.product-detail-hero--blue {
  background:
    radial-gradient(circle at 78% 24%, rgba(255, 255, 255, 0.16), transparent 32%),
    linear-gradient(135deg, #0A2E73 0%, #1E5EFF 100%);
}

.product-detail-hero--red {
  background:
    radial-gradient(circle at 78% 24%, rgba(255, 255, 255, 0.18), transparent 32%),
    linear-gradient(135deg, #841E2D 0%, #FF4D4F 100%);
}

.form-wide {
  grid-column: 1 / -1;
}

.contact-lines a {
  color: var(--white);
  font-weight: 900;
}

@media (max-width: 1120px) {
  .navbar {
    gap: 16px;
  }

  .nav-links {
    gap: 16px;
    font-size: 14px;
  }

  .platform-card {
    grid-template-columns: 1fr;
  }

  .platform-copy {
    align-self: auto;
  }
}

@media (max-width: 900px) {
  .page-hero__grid,
  .split-grid,
  .product-info-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .platform-grid,
  .service-grid,
  .position-grid {
    grid-template-columns: 1fr;
  }

  .page-hero,
  .product-detail-hero {
    padding: 72px 0;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    position: fixed !important;
    top: 16px;
    right: 16px;
    left: auto !important;
    flex: 0 0 auto;
    z-index: 200;
  }

  .nav-links {
    max-height: calc(100vh - 98px);
    overflow: auto;
    gap: 8px;
  }

  .nav-item,
  .nav-link,
  .dropdown-trigger {
    width: 100%;
  }

  .dropdown-trigger {
    justify-content: space-between;
    padding: 10px 12px;
  }

  .dropdown-menu {
    position: static;
    visibility: visible;
    opacity: 1;
    display: none;
    width: 100%;
    min-width: 0;
    max-width: none;
    transform: none;
    box-shadow: none;
    margin-top: 4px;
    background: #F8FAFC;
  }

  .has-dropdown.is-open .dropdown-menu {
    display: grid;
    transform: none;
  }

  .has-dropdown:hover .dropdown-menu,
  .has-dropdown:focus-within .dropdown-menu {
    transform: none;
  }
}

@media (max-width: 640px) {
  .page-hero h1,
  .product-detail-hero h1 {
    font-size: clamp(30px, 9vw, 38px);
  }

  .page-hero p,
  .product-detail-hero p,
  .page-hero__grid > div:first-child,
  .product-detail-hero .page-hero__grid > div:first-child {
    max-width: min(100%, 360px);
  }

  .platform-card {
    min-height: auto;
    padding: 22px;
  }

  .platform-copy h3 {
    font-size: 28px;
  }

  .platform-screen,
  .platform-screen--large {
    min-height: 300px;
  }

  .screen-kpis,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .yukthi-visual {
    min-height: 470px;
  }

  .chat-preview {
    width: 100%;
  }

  .service-card img {
    height: 180px;
  }
}
