:root {
  --navy: #061743;
  --navy-2: #032f63;
  --blue: #0d63ff;
  --cyan: #08b9f0;
  --orange: #ff6a00;
  --text: #07153c;
  --muted: #52647d;
  --line: #d9e6fa;
  --soft: #f3f8ff;
  --shadow: 0 22px 60px rgba(5, 34, 92, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

main > section {
  scroll-margin-top: 84px;
}

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: "Noto Sans Thai", "Segoe UI", Tahoma, Arial, sans-serif;
  line-height: 1.55;
}

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

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

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  display: grid;
  grid-template-columns: 240px 1fr auto;
  align-items: start;
  gap: 26px;
  max-width: 1380px;
  width: 100%;
  margin: 0 auto;
  padding: 18px 56px 0;
  color: #fff;
}

.brand img {
  width: 220px;
  height: auto;
  margin-top: 8px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 46px;
  padding-top: 22px;
  font-size: 14px;
  font-weight: 800;
}

.site-nav a {
  position: relative;
  padding-bottom: 18px;
  opacity: 0.92;
  cursor: pointer;
}

.site-nav a:hover {
  opacity: 1;
}

.site-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--blue);
  border-radius: 99px;
}

.header-demo {
  margin-top: 14px;
  padding: 13px 20px;
  border-radius: 4px;
  background: var(--blue);
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(13, 99, 255, 0.35);
  cursor: pointer;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  height: 690px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(3, 16, 47, 0.95) 0%, rgba(5, 35, 84, 0.76) 48%, rgba(3, 16, 47, 0.84) 100%),
    linear-gradient(135deg, #061641 0%, #05265b 54%, #06133a 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 16, 47, 0.92), rgba(3, 32, 82, 0.52) 56%, rgba(3, 16, 47, 0.66));
  opacity: 1;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: -64px;
  bottom: -64px;
  width: 250px;
  height: 96px;
  border-radius: 999px 0 0 999px;
  background: var(--orange);
  transform: rotate(-48deg);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  filter: saturate(1.05) contrast(1.08);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 1380px;
  margin: 0 auto;
  padding: 118px 56px 30px;
}

.hero-copy {
  max-width: 650px;
}

.hero h1 {
  margin: 0 0 8px;
  font-size: clamp(3.95rem, 6.1vw, 5.45rem);
  line-height: 0.92;
  font-weight: 950;
  letter-spacing: 0;
}

.hero h1 span,
.hero h2 span {
  color: var(--blue);
}

.hero h2 {
  margin: 0 0 14px;
  font-size: clamp(1.65rem, 2.35vw, 2.25rem);
  line-height: 1.15;
  font-weight: 950;
}

.hero-copy > p {
  max-width: 565px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.98rem;
}

.hero-points {
  display: grid;
  gap: 10px;
  margin: 20px 0 18px;
}

.hero-points div {
  display: grid;
  grid-template-columns: 42px 1fr;
  column-gap: 12px;
  align-items: center;
}

.hero-points i {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  font-style: normal;
  font-weight: 900;
}

.hero-points strong {
  font-size: 1.02rem;
  line-height: 1.1;
}

.hero-points small {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.84rem;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 22px;
  border-radius: 6px;
  font-weight: 900;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 15px 30px rgba(13, 99, 255, 0.32);
}

.btn-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.06);
}

.demo-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.demo-modal.is-open {
  display: flex;
}

.demo-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 13, 38, 0.72);
  backdrop-filter: blur(8px);
}

.demo-dialog {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 34px;
  border: 1px solid rgba(190, 216, 252, 0.9);
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0%, rgba(13, 166, 238, 0.18), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #f3f8ff 100%);
  box-shadow: 0 30px 90px rgba(0, 18, 55, 0.35);
}

.demo-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--navy);
  background: #eaf3ff;
  cursor: pointer;
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1;
}

.demo-dialog-heading {
  max-width: 560px;
  margin-bottom: 22px;
}

.demo-dialog-heading span {
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 950;
  text-transform: uppercase;
}

.demo-dialog-heading h2 {
  margin: 6px 0 8px;
  color: var(--navy);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.12;
}

.demo-dialog-heading p {
  margin: 0;
  color: var(--muted);
}

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

.demo-form label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 850;
}

.demo-form input {
  min-height: 48px;
  width: 100%;
  border: 1px solid #cfe0f6;
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.86);
  font: inherit;
}

.demo-form input:focus {
  outline: 3px solid rgba(13, 99, 255, 0.16);
  border-color: var(--blue);
}

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

.demo-form-status {
  min-height: 24px;
  margin: 0;
  color: var(--blue);
  font-weight: 850;
}

.demo-success {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 26px 12px 18px;
  text-align: center;
}

.demo-success[hidden] {
  display: none;
}

.demo-success img {
  width: min(360px, 92%);
  height: auto;
}

.demo-success h3 {
  margin: 10px 0 0;
  color: var(--navy);
  font-size: clamp(1.65rem, 4vw, 2.5rem);
  line-height: 1.1;
  font-weight: 950;
}

.demo-success p {
  margin: 0;
  color: var(--blue);
  font-size: 1.12rem;
  font-weight: 900;
}

body.demo-modal-open {
  overflow: hidden;
}

.hero-devices {
  position: relative;
  min-height: 500px;
}

.laptop {
  position: absolute;
  left: 0;
  top: -2px;
  width: 80%;
  padding: 14px;
  border-radius: 16px;
  background: #0c1731;
  box-shadow: 0 38px 80px rgba(0, 0, 0, 0.38);
  transform: perspective(900px) rotateY(-4deg) rotateX(2deg);
}

.laptop::after {
  content: "";
  position: absolute;
  left: 20%;
  right: 10%;
  bottom: -28px;
  height: 28px;
  border-radius: 0 0 80px 80px;
  background: linear-gradient(180deg, #c9ced8, #747f92);
}

.dashboard {
  display: grid;
  grid-template-columns: 170px 1fr;
  min-height: 350px;
  overflow: hidden;
  border-radius: 7px;
  background: #fff;
}

.dashboard aside {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 24px 18px;
  color: rgba(255, 255, 255, 0.78);
  background: linear-gradient(180deg, #063b7a, #061743);
  font-size: 0.9rem;
}

.dashboard aside strong {
  color: #fff;
  font-size: 1.1rem;
}

.dashboard section {
  padding: 28px;
  color: var(--text);
}

.dashboard section > p {
  margin: 0 0 18px;
  color: #5e7190;
  font-weight: 900;
}

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

.metric-row div {
  padding: 18px 12px;
  border-radius: 8px;
  background: #f5f8fd;
  box-shadow: 0 8px 18px rgba(19, 48, 89, 0.08);
}

.metric-row strong {
  display: block;
  color: #08235b;
  font-size: 1.45rem;
  line-height: 1;
}

.metric-row span {
  color: #71839b;
  font-size: 0.72rem;
}

.chart-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  margin-top: 20px;
}

.line-chart,
.donut-chart {
  min-height: 170px;
  border-radius: 10px;
  background: #f7faff;
  box-shadow: inset 0 0 0 1px #e6eefb;
}

.line-chart {
  background:
    linear-gradient(150deg, transparent 55%, rgba(13, 99, 255, 0.13) 56%),
    repeating-linear-gradient(0deg, transparent 0 34px, #dbe7f6 35px),
    linear-gradient(135deg, #fafdff, #f2f7ff);
}

.donut-chart {
  display: grid;
  place-items: center;
}

.donut-chart::before {
  content: "";
  width: 115px;
  height: 115px;
  border-radius: 50%;
  background: conic-gradient(var(--blue) 0 68%, var(--orange) 68% 83%, #0b2257 83% 100%);
  mask: radial-gradient(circle, transparent 0 43%, #000 44%);
}

.phone {
  position: absolute;
  right: 0;
  top: 66px;
  width: 190px;
  border: 10px solid #091427;
  border-radius: 30px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.4);
}

.phone img {
  width: 100%;
  height: 382px;
  object-fit: cover;
  object-position: top;
}

.trusted {
  padding: 34px 56px 40px;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #eefbff 100%);
  box-shadow: 0 12px 42px rgba(2, 28, 75, 0.08);
}

.trusted-in-usecases {
  width: 100%;
  max-width: none;
  margin: 36px auto 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.trusted p {
  margin: 0 0 22px;
  color: #1a3158;
  font-weight: 800;
}

.client-logo-grid {
  display: flex;
  gap: 14px;
  width: max-content;
  max-width: none;
  margin: 0;
  animation: logo-marquee 45s linear infinite;
  will-change: transform;
}

.client-logo-grid div {
  flex: 0 0 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: 16px 18px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 30px rgba(20, 72, 120, 0.08);
}

.trusted-in-usecases .client-logo-grid div {
  background: #ffffff;
}

.client-logo-grid img {
  max-width: 142px;
  max-height: 58px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.trusted-in-usecases:hover .client-logo-grid {
  animation-play-state: paused;
}

@keyframes logo-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 7px));
  }
}

.about {
  padding: 56px 56px 62px;
  background: #fff;
}

.about-panel {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(360px, 0.9fr);
  align-items: stretch;
  max-width: 1220px;
  min-height: 310px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #dce8f8;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(8, 44, 100, 0.1);
}

.about-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px 46px;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0%, rgba(13, 99, 255, 0.14), transparent 36%),
    linear-gradient(135deg, #ffffff 0%, #f5f9ff 100%);
}

.about-copy::after {
  content: "";
  position: absolute;
  right: -52px;
  bottom: -46px;
  width: 156px;
  height: 62px;
  border-radius: 999px;
  background: var(--orange);
  transform: rotate(-42deg);
  opacity: 0.95;
}

.eyebrow,
.section-title span {
  display: inline-block;
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 950;
  text-transform: uppercase;
}

.about h2 {
  margin: 8px 0 14px;
  color: var(--navy);
  font-size: clamp(1.85rem, 2.7vw, 2.55rem);
  line-height: 1.08;
  font-weight: 950;
}

.about p {
  position: relative;
  margin: 0;
  color: #182b4d;
}

.stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0 22px;
}

.stats strong {
  display: block;
  color: var(--blue);
  font-size: 1.58rem;
  font-weight: 950;
}

.stats span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.about-photo {
  min-height: 310px;
  overflow: hidden;
  background: #073b72;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}

.home-solution .about-panel {
  grid-template-columns: minmax(460px, 1.05fr) minmax(380px, 0.95fr);
}

.home-solution .about-photo {
  display: grid;
  min-height: 360px;
  place-items: center;
  padding: 26px;
  background: linear-gradient(135deg, #f8fbff, #eaf5ff);
}

.home-solution .about-photo img {
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(5, 34, 92, 0.14);
}

.home-solution {
  padding-top: 42px;
  padding-right: 0;
  padding-left: 0;
  background: linear-gradient(180deg, #ffffff, #f7fbff);
}

.solution-visual {
  width: 100%;
  max-width: none;
  margin: 0 auto;
}

.solution-visual img {
  width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: none;
}

.solution-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(520px, 1.28fr);
  gap: 34px;
  align-items: stretch;
  width: 100%;
  max-width: none;
  margin: 30px auto 0;
  padding: 0 clamp(24px, 6vw, 96px);
}

.solution-copy h2 {
  max-width: none;
  margin: 8px 0 12px;
  color: var(--navy);
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.1;
  font-weight: 950;
}

.solution-copy p {
  max-width: none;
  margin: 0;
  color: #1d3155;
}

.solution-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  align-items: stretch;
  padding: 18px;
  border: 1px solid #d8e7fb;
  border-radius: 12px;
  background:
    radial-gradient(circle at 8% 14%, rgba(8, 185, 240, 0.12), transparent 26%),
    linear-gradient(135deg, #ffffff 0%, #eef7ff 100%);
  box-shadow: 0 18px 42px rgba(5, 34, 92, 0.1);
}

.solution-flow::before {
  content: "";
  position: absolute;
  left: 68px;
  right: 68px;
  top: 52px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  opacity: 0.28;
}

.solution-flow > div {
  position: relative;
  min-height: 158px;
  padding: 20px 16px 18px;
  border: 1px solid rgba(13, 99, 255, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 28px rgba(8, 44, 100, 0.08);
}

.solution-flow > div::after {
  content: "";
  position: absolute;
  top: 35px;
  right: -12px;
  width: 24px;
  height: 24px;
  border-top: 3px solid var(--cyan);
  border-right: 3px solid var(--cyan);
  transform: rotate(45deg);
  background: #f8fcff;
  z-index: 2;
}

.solution-flow > div:nth-of-type(4)::after {
  display: none;
}

.solution-flow strong {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  font-size: 0.82rem;
  box-shadow: 0 10px 22px rgba(13, 99, 255, 0.22);
}

.solution-flow h3 {
  margin: 16px 0 7px;
  color: var(--blue);
  font-size: 1.12rem;
  line-height: 1.12;
}

.solution-flow p {
  margin: 0;
  color: #1d3155;
  font-size: 0.9rem;
}

.solution-flow .btn {
  grid-column: 1 / -1;
  min-height: 48px;
  margin-top: 4px;
}

.product,
.use-cases {
  padding: 42px 56px 58px;
  background: linear-gradient(180deg, #f7fbff, #fff);
}

.section-title {
  margin: 0 auto 28px;
  text-align: center;
}

.section-title h2 {
  margin: 4px 0 0;
  color: var(--navy);
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1.1;
  font-weight: 950;
}

.feature-grid,
.case-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1220px;
  margin: 0 auto;
}

.inner-section.use-cases .case-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1220px;
}

.feature-grid article,
.case-grid article {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(8, 44, 100, 0.08);
}

.feature-grid img,
.case-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  background: #eef5ff;
}

.feature-grid article:nth-child(1) img,
.case-grid article:nth-child(1) img {
  object-position: center 42%;
}

.feature-grid article:nth-child(2) img,
.case-grid article:nth-child(2) img {
  object-position: center 45%;
}

.feature-grid article:nth-child(3) img,
.case-grid article:nth-child(3) img {
  object-position: center 38%;
}

.feature-grid article:nth-child(4) img,
.case-grid article:nth-child(4) img {
  object-position: center 42%;
}

.feature-grid h3,
.case-grid h3 {
  margin: 22px 22px 8px;
  color: var(--blue);
  font-size: 1.42rem;
  line-height: 1.15;
  font-weight: 950;
}

.feature-grid p,
.case-grid p {
  flex: 1;
  min-height: 76px;
  margin: 0 22px;
  color: #1d3155;
  font-size: 0.95rem;
}

.feature-grid a,
.case-grid a {
  display: inline-block;
  margin: 10px 22px 24px;
  color: var(--blue);
  font-weight: 950;
}

.ai-illustration {
  position: relative;
  display: grid;
  place-items: center;
  height: 190px;
  background: radial-gradient(circle at 50% 55%, #dcecff 0 42%, #f8fbff 43%);
}

.ai-illustration .bot {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border: 9px solid #fff;
  border-radius: 42% 42% 48% 48%;
  color: #fff;
  background: linear-gradient(180deg, #082d73, #1b83ff);
  box-shadow: 0 18px 42px rgba(13, 99, 255, 0.25);
  font-size: 2rem;
  font-weight: 950;
}

.ai-illustration span {
  position: absolute;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(13, 99, 255, 0.14);
}

.ai-illustration span:nth-child(2) {
  right: 36px;
  top: 34px;
}

.ai-illustration span:nth-child(3) {
  right: 50px;
  bottom: 34px;
}

.ai-illustration span:nth-child(4) {
  left: 42px;
  top: 56px;
}

.use-cases {
  padding-top: 18px;
  scroll-margin-top: 24px;
  display: flex;
  flex-direction: column;
}

.use-cases .section-title {
  order: 1;
}

.use-cases .case-grid {
  order: 2;
}

.use-cases .trusted-in-usecases {
  order: 3;
}

.case-grid img {
  height: auto;
  object-position: center;
}

.case-grid h3 {
  position: relative;
  margin-top: 20px;
  padding-left: 40px;
}

.case-grid h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: -3px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.business-result {
  padding: 58px clamp(24px, 6vw, 108px) 72px;
  background:
    radial-gradient(circle at 12% 20%, rgba(13, 99, 255, 0.06), transparent 30%),
    linear-gradient(180deg, #ffffff, #f7fbff);
}

.business-result .section-title {
  margin-bottom: 28px;
}

.before-after-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1180px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #cfe0f6;
  border-radius: 10px;
  box-shadow: 0 20px 55px rgba(8, 44, 100, 0.09);
}

.before-after-panel article {
  min-height: 270px;
  padding: clamp(26px, 4vw, 42px);
}

.before-after-panel span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--cyan);
  font-weight: 950;
  text-transform: uppercase;
}

.before-after-panel h3 {
  margin: 0 0 14px;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.12;
}

.before-after-panel ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
}

.before-card {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.98);
}

.after-card {
  color: #ffffff;
  background:
    radial-gradient(circle at 88% 10%, rgba(13, 166, 238, 0.22), transparent 32%),
    linear-gradient(135deg, #073b72, #061743);
}

.after-card h3 {
  color: #ffffff;
}

.cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 46px 108px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #052f68, #061743);
}

.cta::before {
  content: "";
  position: absolute;
  left: -68px;
  bottom: -70px;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(13, 99, 255, 0.4);
  border-radius: 50%;
  box-shadow: 0 0 0 18px rgba(13, 99, 255, 0.07), 0 0 0 36px rgba(13, 99, 255, 0.05);
}

.cta::after {
  content: "";
  position: absolute;
  right: -48px;
  bottom: -48px;
  width: 240px;
  height: 82px;
  border-radius: 999px;
  background: var(--orange);
  transform: rotate(-45deg);
}

.cta h2 {
  position: relative;
  margin: 0 0 8px;
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  line-height: 1.15;
}

.cta p {
  position: relative;
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.cta-actions {
  position: relative;
  z-index: 1;
}

.footer {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.8fr 1fr;
  gap: 60px;
  padding: 52px 108px 34px;
  color: #d8e6ff;
  background: linear-gradient(135deg, #061641, #031026);
}

.footer img {
  width: 76px;
}

.footer p {
  margin: 12px 0 0;
  color: rgba(216, 230, 255, 0.8);
}

.footer h4 {
  margin: 0 0 14px;
  color: #fff;
}

.footer a {
  display: block;
  margin: 7px 0;
  color: rgba(216, 230, 255, 0.84);
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.socials a {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  font-size: 0;
  font-weight: 950;
  opacity: 0.92;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.socials a:hover {
  transform: translateY(-2px);
  opacity: 1;
}

.socials img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.copyright {
  padding: 14px;
  color: rgba(216, 230, 255, 0.68);
  text-align: center;
  background: #031026;
  font-size: 0.9rem;
}

.detail-body {
  min-height: 100vh;
  background: linear-gradient(180deg, #f4f9ff 0%, #ffffff 42%);
}

.detail-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px clamp(24px, 6vw, 96px);
  color: #ffffff;
  background: linear-gradient(135deg, #061641, #032f63);
}

.detail-brand img {
  width: 220px;
  height: auto;
  margin-top: 12px;
  object-fit: contain;
}

.detail-nav nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-weight: 800;
}

.detail-nav nav a {
  position: relative;
  padding-bottom: 8px;
  opacity: 0.88;
}

.detail-nav nav a:hover,
.detail-nav nav a.active {
  opacity: 1;
}

.detail-nav nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 99px;
  background: var(--blue);
}

.inner-hero {
  position: relative;
  padding: 72px clamp(24px, 6vw, 96px) 34px;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 84% 8%, rgba(8, 185, 240, 0.22), transparent 30%),
    linear-gradient(135deg, #061641, #032f63);
}

.inner-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 16, 47, 0.7), rgba(3, 47, 99, 0.34) 58%, rgba(3, 16, 47, 0.44));
  pointer-events: none;
  z-index: 1;
}

.inner-hero > div {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.inner-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  filter: saturate(1.12) contrast(1.05) brightness(1.04);
}

.inner-hero span {
  color: var(--cyan);
  font-weight: 950;
  text-transform: uppercase;
}

.inner-hero h1 {
  max-width: 760px;
  margin: 8px 0 12px;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1.05;
}

.inner-hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.inner-section {
  padding: 52px clamp(24px, 6vw, 96px) 68px;
  background: linear-gradient(180deg, #f7fbff, #ffffff);
}

.inner-section .about-panel,
.inner-section .feature-grid,
.inner-section .case-grid,
.inner-section .trusted-in-usecases {
  max-width: 1180px;
}

.page-visual {
  width: calc(100% + (clamp(24px, 6vw, 96px) * 2));
  max-width: none;
  margin: -18px calc(clamp(24px, 6vw, 96px) * -1) 42px;
}

.page-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  box-shadow: none;
}

.page-visual-dark {
  margin-top: -12px;
  background: #061743;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto 28px;
}

.contact-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(8, 44, 100, 0.08);
}

.contact-card h3 {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 1.28rem;
}

.contact-card p {
  margin: 0;
  color: #1d3155;
}

.inner-title {
  margin-top: 52px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.info-grid article,
.package-panel,
.compare-panel {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(8, 44, 100, 0.08);
}

.info-grid article {
  padding: 24px;
}

.info-grid h3 {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 1.22rem;
  line-height: 1.2;
}

.info-grid p {
  margin: 0;
  color: #1d3155;
}

.compare-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 1180px;
  margin: 30px auto 0;
  overflow: hidden;
}

.compare-panel > div {
  padding: 30px;
}

.compare-panel > div:nth-child(2) {
  color: #ffffff;
  background: linear-gradient(135deg, #052f68, #061743);
}

.compare-panel span,
.package-panel span {
  color: var(--cyan);
  font-weight: 950;
  text-transform: uppercase;
}

.compare-panel h3,
.package-panel h2 {
  margin: 6px 0 14px;
  font-size: 1.75rem;
  line-height: 1.15;
}

.compare-panel h3 {
  color: var(--navy);
}

.compare-panel > div:nth-child(2) h3 {
  color: #ffffff;
}

.compare-panel ul,
.package-panel ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
}

.compare-panel li,
.package-panel li {
  color: #1d3155;
}

.compare-panel > div:nth-child(2) li {
  color: rgba(255, 255, 255, 0.88);
}

.pill-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto 30px;
}

.pill-grid span {
  display: grid;
  min-height: 64px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(8, 44, 100, 0.07);
  font-weight: 950;
}

.process-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1180px;
  margin: 30px auto 0;
}

.process-strip div {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  align-items: center;
  padding: 20px;
  border-radius: 10px;
  color: #ffffff;
  background: linear-gradient(135deg, #052f68, #061743);
  box-shadow: 0 16px 36px rgba(5, 34, 92, 0.16);
}

.process-strip strong {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  font-size: 1.25rem;
}

.process-strip span {
  font-weight: 900;
  line-height: 1.25;
}

.usecase-extra {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 30px;
}

.package-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto 30px;
  padding: 34px;
  color: #ffffff;
  background:
    radial-gradient(circle at 90% 10%, rgba(8, 185, 240, 0.18), transparent 32%),
    linear-gradient(135deg, #052f68, #061743);
}

.package-panel h2 {
  color: #ffffff;
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.package-panel p,
.package-panel li {
  color: rgba(255, 255, 255, 0.84);
}

.contact-wide {
  grid-column: span 3;
}

.contact-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
  background: #061743;
}

.contact-hero img,
.contact-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.05) contrast(1.04);
}

.contact-hero-video {
  display: block;
  opacity: 0.72;
  filter: saturate(1.12) contrast(1.05) brightness(1.04);
}

.contact-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 16, 47, 0.7), rgba(3, 47, 99, 0.34) 58%, rgba(3, 16, 47, 0.44));
  pointer-events: none;
  z-index: 1;
}

.contact-hero-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.contact-hero-copy span {
  color: var(--cyan);
  font-weight: 950;
  text-transform: uppercase;
}

.contact-hero-copy h1 {
  margin: 8px 0 12px;
  max-width: 900px;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1.05;
}

.contact-hero-copy p {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
}

.contact-page {
  padding: 52px clamp(24px, 6vw, 96px) 74px;
  background: linear-gradient(180deg, #f7fbff, #ffffff);
}

.contact-company {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 26px;
  max-width: 1180px;
  margin: 0 auto 30px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(8, 44, 100, 0.08);
  overflow: hidden;
}

.contact-company::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.82)),
    url("images/con2.jpeg") center / cover;
  opacity: 0.62;
}

.contact-company > * {
  position: relative;
  z-index: 1;
}

.contact-company-logo {
  width: min(260px, 70%);
  height: auto;
  margin: 0 0 18px;
}

.contact-company-main h2,
.contact-form h2 {
  margin: 8px 0 12px;
  color: var(--navy);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.1;
}

.contact-company-main h2 {
  white-space: nowrap;
}

.contact-company-main p {
  margin: 0;
  color: #1d3155;
}

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

.contact-info-list div {
  position: relative;
  padding: 18px;
  padding-left: 66px;
  border-radius: 9px;
  background: rgba(243, 248, 255, 0.9);
}

.contact-info-list div::before {
  content: attr(data-icon);
  position: absolute;
  left: 18px;
  top: 18px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  font-size: 1rem;
  font-weight: 950;
  box-shadow: 0 10px 22px rgba(13, 99, 255, 0.22);
}

.contact-info-list strong {
  display: block;
  margin-bottom: 6px;
  color: var(--blue);
}

.contact-info-list p {
  margin: 0;
  color: #1d3155;
}

.social-row {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 4px;
}

.social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  font-weight: 950;
  box-shadow: 0 12px 24px rgba(13, 99, 255, 0.2);
}

.social-row img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.contact-map-form {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
}

.map-panel,
.contact-form {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(8, 44, 100, 0.08);
}

.map-panel iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 560px;
  border: 0;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 30px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-weight: 850;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--text);
  background: #f8fbff;
  font: inherit;
}

.contact-form select {
  min-height: 50px;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--blue) 50%),
    linear-gradient(135deg, var(--blue) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 50%,
    calc(100% - 14px) 50%;
  background-size:
    6px 6px,
    6px 6px;
  background-repeat: no-repeat;
  cursor: pointer;
}

.form-logo {
  width: min(260px, 70%);
  height: auto;
  margin: 0 auto 4px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  border: 0;
  cursor: pointer;
}

.captcha-field input {
  max-width: 220px;
}

.product-flow-showcase {
  max-width: 1240px;
  margin: 58px auto 0;
  padding: 28px;
  overflow: hidden;
  border: 1px solid #cfe2fb;
  border-radius: 12px;
  background:
    radial-gradient(circle at 0% 6%, rgba(14, 165, 233, 0.1), transparent 25%),
    radial-gradient(circle at 100% 0%, rgba(13, 99, 255, 0.12), transparent 30%),
    linear-gradient(135deg, #fbfdff 0%, #f4f9ff 46%, #edf6ff 100%);
  box-shadow: 0 24px 70px rgba(6, 37, 94, 0.12);
}

.product-flow-showcase .section-title {
  max-width: 100%;
  margin-bottom: 25px;
  text-align: center;
}

.product-flow-showcase .section-title span {
  font-size: 0.9rem;
  letter-spacing: 0;
}

.product-flow-showcase .section-title h2 {
  max-width: 980px;
  margin-inline: auto;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
}

.product-flow-image-only {
  padding: 0;
  background: transparent;
}

.product-flow-image-only img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 55px rgba(6, 37, 94, 0.14);
}

.flow-steps-visual {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  align-items: stretch;
  margin-bottom: 24px;
}

.flow-steps-visual article {
  position: relative;
  display: grid;
  min-height: 150px;
  justify-items: center;
  align-content: center;
  padding: 24px 16px 18px;
  border: 1px solid #d5e5fa;
  border-radius: 10px;
  background: #ffffff;
  text-align: center;
  box-shadow: 0 16px 34px rgba(8, 44, 100, 0.08);
}

.flow-steps-visual article::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -25px;
  width: 20px;
  height: 12px;
  background:
    linear-gradient(var(--blue), var(--blue)) left 5px / 15px 2px no-repeat,
    linear-gradient(45deg, transparent 45%, var(--blue) 45% 60%, transparent 60%) right center / 10px 10px no-repeat;
  transform: translateY(-50%);
}

.flow-steps-visual article:last-child::after {
  display: none;
}

.flow-steps-visual strong {
  position: absolute;
  top: 13px;
  left: 13px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), #0aa6ee);
  font-size: 0.95rem;
  box-shadow: 0 10px 18px rgba(13, 99, 255, 0.22);
}

.flow-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin-bottom: 13px;
  border-radius: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  font-size: 1.55rem;
  font-weight: 950;
  box-shadow: 0 14px 24px rgba(13, 99, 255, 0.22);
}

.flow-steps-visual h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.08rem;
  line-height: 1.25;
}

.flow-steps-visual p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
}

.flow-screens {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(128px, 0.62fr) minmax(128px, 0.62fr) minmax(0, 1.55fr);
  gap: 14px;
  align-items: stretch;
}

.flow-screens figure {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid #d5e5fa;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(8, 44, 100, 0.1);
}

.flow-screens img {
  width: 100%;
  flex: 1;
  height: 430px;
  min-height: 430px;
  object-fit: cover;
  object-position: top center;
  background: #eef6ff;
}

.flow-screens .screen-phone img {
  height: 430px;
  min-height: 430px;
  object-fit: contain;
  padding: 16px 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(232, 243, 255, 0.72)),
    #eef6ff;
}

.flow-screens .screen-wide:first-child img {
  object-position: 34% top;
}

.flow-screens .screen-wide:last-child img {
  object-position: 43% top;
}

.flow-screens figcaption {
  min-height: 58px;
  padding: 15px 16px 14px;
  color: var(--blue);
  font-weight: 950;
  text-align: center;
  line-height: 1.35;
  background: #ffffff;
}

.about-hero h1 {
  max-width: 900px;
}

.about-hero,
.product-hero,
.usecase-hero {
  min-height: 520px;
  display: flex;
  align-items: center;
}

.product-hero h1 {
  max-width: 900px;
}

.about-story {
  padding-top: 34px;
}

.about-showcase {
  display: grid;
  grid-template-columns: minmax(460px, 1.08fr) minmax(380px, 0.92fr);
  max-width: 1180px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(135deg, #ffffff 0%, #f1f7ff 100%);
  box-shadow: 0 22px 60px rgba(5, 34, 92, 0.14);
}

.about-showcase-photo {
  min-height: 520px;
  padding-left: 48px;
  background: #073b72;
}

.about-showcase-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}

.about-showcase-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 5vw, 56px);
  overflow: hidden;
}

.about-showcase-copy::after {
  content: "";
  position: absolute;
  right: -52px;
  bottom: -46px;
  width: 156px;
  height: 62px;
  border-radius: 999px;
  background: var(--orange);
  transform: rotate(-42deg);
}

.about-company-title {
  color: var(--blue);
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-weight: 950;
  line-height: 1.12;
}

.about-showcase-copy h2 {
  margin: 10px 0 18px;
  color: var(--navy);
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  line-height: 1.12;
}

.about-showcase-copy p {
  position: relative;
  margin: 0 0 14px;
  color: #1d3155;
}

.about-stats {
  z-index: 1;
  margin-top: 22px;
}

.about-stats strong {
  font-size: 1.22rem;
}

.about-problem-grid article {
  min-height: 174px;
}

.about-mission {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 26px;
  align-items: center;
  max-width: 1180px;
  margin: 36px auto 0;
  padding: 34px;
  border-radius: 12px;
  color: #ffffff;
  background:
    radial-gradient(circle at 92% 12%, rgba(8, 185, 240, 0.18), transparent 32%),
    linear-gradient(135deg, #052f68, #061743);
  box-shadow: 0 20px 50px rgba(5, 34, 92, 0.16);
}

.about-mission span {
  color: var(--cyan);
  font-weight: 950;
  text-transform: uppercase;
}

.about-mission h2 {
  margin: 6px 0 12px;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  line-height: 1.12;
}

.about-mission p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
}

.about-process {
  margin: 0;
}

.about-process div {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.detail-page {
  padding: 48px clamp(24px, 6vw, 96px) 74px;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1.1fr);
  gap: 42px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 54px);
  border-radius: 14px;
  color: #ffffff;
  background:
    radial-gradient(circle at 88% 8%, rgba(8, 185, 240, 0.22), transparent 34%),
    linear-gradient(135deg, #052f68, #061743);
  box-shadow: 0 22px 60px rgba(5, 34, 92, 0.18);
}

.back-link {
  display: inline-block;
  margin-bottom: 22px;
  color: #99e8ff;
  font-weight: 900;
}

.detail-label {
  margin: 0 0 8px;
  color: var(--cyan);
  font-weight: 950;
}

.detail-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1.04;
}

.detail-hero p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.detail-hero img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 8px solid rgba(255, 255, 255, 0.82);
  border-radius: 12px;
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.26);
}

.detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  max-width: 1180px;
  margin: 30px auto 0;
}

.detail-main,
.detail-side {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(8, 44, 100, 0.08);
}

.detail-main h2,
.detail-side h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 1.55rem;
}

.detail-main p {
  margin: 0 0 28px;
  color: #1d3155;
}

.detail-main ul,
.detail-side ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 22px;
  color: #1d3155;
}

.detail-main li::marker {
  color: var(--blue);
}

.detail-side li::marker {
  color: var(--blue);
  font-weight: 900;
}

.detail-gallery {
  max-width: 1180px;
  margin: 34px auto 0;
}

.detail-gallery .section-title {
  margin-bottom: 22px;
}

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

.detail-gallery-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(8, 44, 100, 0.08);
}

.detail-gallery-grid img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: top center;
  background: #eef6ff;
}

.detail-gallery-grid article:nth-child(2) img {
  object-position: center;
}

.detail-gallery-grid div {
  padding: 18px 20px 22px;
}

.detail-gallery-grid h3 {
  margin: 0 0 6px;
  color: var(--blue);
  font-size: 1.18rem;
}

.detail-gallery-grid p {
  margin: 0;
  color: #1d3155;
}

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: auto auto;
    align-items: center;
    padding: 16px 24px;
  }

  .brand img {
    width: 160px;
    height: auto;
  }

  .header-demo {
    display: none;
  }

  .nav-toggle {
    justify-self: end;
    display: grid;
    gap: 5px;
    width: 44px;
    height: 44px;
    place-content: center;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
  }

  .nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
  }

  .site-nav {
    position: absolute;
    top: 78px;
    left: 24px;
    right: 24px;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 12px;
    border-radius: 8px;
    background: rgba(3, 20, 57, 0.98);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .hero-content,
  .about-panel,
  .about-showcase,
  .about-mission,
  .solution-copy,
  .footer,
  .detail-hero,
  .detail-content,
  .contact-grid,
  .compare-panel,
  .package-panel,
  .contact-company,
  .contact-map-form {
    grid-template-columns: 1fr;
  }

  .detail-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-wide {
    grid-column: auto;
  }

  .map-panel iframe {
    min-height: 420px;
  }

  .about-showcase-photo {
    min-height: 380px;
    padding-left: 28px;
  }

  .solution-copy .stats {
    max-width: none;
  }

  .solution-flow {
    grid-template-columns: repeat(2, 1fr);
  }

  .solution-flow::before,
  .solution-flow > div::after {
    display: none;
  }

  .hero-content {
    padding: 118px 24px 46px;
  }

  .hero-copy {
    width: 100%;
    max-width: calc(100vw - 48px);
  }

  .hero-devices {
    min-height: 450px;
  }

  .client-logo-grid,
  .feature-grid,
  .case-grid,
  .info-grid,
  .pill-grid,
  .process-strip,
  .before-after-panel {
    grid-template-columns: repeat(2, 1fr);
  }

  .trusted-in-usecases .client-logo-grid {
    display: flex;
  }

  .inner-section.use-cases .case-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow-steps-visual,
  .flow-screens {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow-steps-visual article::after {
    display: none;
  }

  .about,
  .product,
  .use-cases,
  .trusted {
    padding-inline: 24px;
  }

  .cta,
  .footer,
  .detail-page {
    padding-inline: 24px;
  }

  .detail-nav {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: clamp(4rem, 18vw, 5rem);
  }

  .hero h2 {
    display: block;
    width: min(310px, calc(100vw - 52px));
    max-width: calc(100vw - 52px);
    font-size: clamp(1.22rem, 6vw, 1.44rem);
    overflow-wrap: anywhere;
    word-break: break-all;
    white-space: normal;
  }

  .hero h2 br {
    display: none;
  }

  .hero-copy > p {
    width: min(310px, calc(100vw - 52px));
    max-width: calc(100vw - 52px);
    font-size: 0.84rem;
    overflow-wrap: anywhere;
    word-break: break-all;
    white-space: normal;
  }

  .hero-devices {
    min-height: 380px;
  }

  .laptop {
    width: 100%;
    transform: none;
  }

  .dashboard {
    grid-template-columns: 90px 1fr;
    min-height: 285px;
  }

  .dashboard aside {
    gap: 10px;
    padding: 14px 10px;
    font-size: 0.68rem;
  }

  .dashboard section {
    padding: 14px;
  }

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

  .chart-row {
    display: none;
  }

  .phone {
    right: -6px;
    top: 84px;
    width: 126px;
    border-width: 6px;
    border-radius: 22px;
  }

  .phone img {
    height: 270px;
  }

  .client-logo-grid,
  .feature-grid,
  .case-grid,
  .stats,
  .info-grid,
  .pill-grid,
  .process-strip,
  .usecase-extra,
  .solution-flow,
  .before-after-panel {
    grid-template-columns: 1fr;
  }

  .trusted-in-usecases .client-logo-grid {
    display: flex;
  }

  .inner-section.use-cases .case-grid {
    grid-template-columns: 1fr;
  }

  .flow-steps-visual,
  .flow-screens {
    grid-template-columns: 1fr;
  }

  .demo-dialog {
    padding: 28px 20px;
  }

  .demo-form {
    grid-template-columns: 1fr;
  }

  .about-copy {
    padding: 42px 0;
  }

  .about-panel .about-copy {
    padding: 34px 24px;
  }

  .about-photo {
    min-height: 280px;
  }

  .cta {
    display: grid;
  }

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

  .detail-gallery-grid {
    grid-template-columns: 1fr;
  }

  .contact-company-main h2 {
    white-space: normal;
  }

  .contact-hero,
  .contact-hero img {
    min-height: 430px;
  }
}
