:root {
  --blue: #1046a8;
  --blue-900: #08306f;
  --blue-800: #0c3c92;
  --purple: #8b3fb0;
  --purple-700: #6232a0;
  --ink: #13295f;
  --muted: #66718b;
  --soft: #f6f3fb;
  --line: rgba(16, 70, 168, 0.14);
  --white: #fff;
  --shadow: 0 22px 58px rgba(16, 70, 168, 0.14);
  --radius: 8px;
  color-scheme: light;
  font-family: Inter, Aptos, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
}

body[dir="rtl"] {
  font-family: Tahoma, Arial, sans-serif;
}

body.gate-open {
  overflow: hidden;
}

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

button {
  font: inherit;
}

.language-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1.15fr);
  grid-template-rows: auto 1fr;
  gap: 36px;
  align-items: center;
  padding: clamp(24px, 6vw, 76px);
  color: #fff;
  background:
    radial-gradient(circle at 82% 15%, rgba(255, 255, 255, 0.15), transparent 250px),
    radial-gradient(circle at 8% 82%, rgba(139, 63, 176, 0.5), transparent 320px),
    linear-gradient(135deg, var(--blue-900), var(--blue), var(--purple));
}

.language-gate.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.gate-brand {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
}

.gate-brand strong,
.brand strong {
  display: block;
  font-size: 30px;
  line-height: 0.92;
  font-weight: 500;
}

.gate-brand small,
.brand small {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: 4px;
}

.gate-copy {
  max-width: 720px;
}

.gate-copy h1 {
  color: #fff;
}

.gate-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
}

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

.gate-languages button {
  min-height: 128px;
  padding: 24px;
  color: #fff;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  backdrop-filter: blur(10px);
}

body[dir="rtl"] .gate-languages button {
  text-align: right;
}

.gate-languages button:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.gate-languages span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 900;
}

.flag {
  font-size: 28px;
  line-height: 1;
}

.gate-languages small {
  display: block;
  margin-top: 8px;
  opacity: 0.78;
}

.brand-symbol-img {
  flex: 0 0 auto;
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.gate-brand .brand-symbol-img {
  width: 58px;
  height: 58px;
}

.fa-solid {
  line-height: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  min-height: 76px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 184px;
  color: var(--blue);
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  color: #4b5a83;
  font-size: 15px;
  font-weight: 800;
}

.main-nav a:hover {
  color: var(--blue);
}

.ghost-button {
  min-height: 40px;
  padding: 0 16px;
  color: var(--blue);
  font-weight: 900;
  border: 1px solid rgba(16, 70, 168, 0.2);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
}

.hero,
.problem-section,
.solution-section,
.modules-section,
.flow-section,
.partner-section {
  padding: clamp(72px, 9vw, 126px) clamp(20px, 6vw, 92px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.86fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
  min-height: calc(100vh - 76px);
  background:
    radial-gradient(circle at 88% 20%, rgba(139, 63, 176, 0.14), transparent 280px),
    linear-gradient(180deg, #fff, #f8f9ff);
}

.hero-content {
  max-width: 790px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--purple);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  color: var(--blue);
  font-size: clamp(46px, 6.2vw, 88px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  color: var(--blue);
  font-size: clamp(34px, 4.2vw, 60px);
  line-height: 1.03;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.hero-content p:not(.eyebrow) {
  max-width: 720px;
  font-size: clamp(19px, 2.1vw, 23px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.primary-button,
.text-button,
.listen-button,
.audio-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  font-weight: 950;
}

.primary-button {
  padding: 0 24px;
  color: #fff;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  box-shadow: 0 18px 38px rgba(16, 70, 168, 0.24);
}

.text-button {
  color: var(--blue);
}

.listen-button,
.audio-cta {
  gap: 10px;
  padding: 0 20px;
  color: var(--blue);
  border: 1px solid rgba(16, 70, 168, 0.2);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
}

.listen-button.is-speaking,
.audio-cta.is-speaking {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--blue), var(--purple));
}

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

.operations-map {
  position: relative;
  min-height: 510px;
  border: 1px solid rgba(16, 70, 168, 0.12);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at center, rgba(139, 63, 176, 0.12), transparent 230px),
    linear-gradient(180deg, #fff, #f7f8fd);
  box-shadow: var(--shadow);
}

.operations-map::before,
.operations-map::after {
  content: "";
  position: absolute;
  inset: 86px;
  border: 2px dashed rgba(16, 70, 168, 0.18);
  border-radius: 50%;
}

.operations-map::after {
  inset: 145px;
  border-color: rgba(139, 63, 176, 0.18);
}

.map-center {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 150px;
  height: 150px;
  color: var(--blue);
  border: 1px solid rgba(16, 70, 168, 0.14);
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow);
  transform: translate(-50%, -50%);
}

.map-center img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.map-center strong {
  font-size: 22px;
  font-weight: 600;
}

.map-node {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 16px;
  color: var(--blue);
  border: 1px solid rgba(16, 70, 168, 0.14);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(16, 70, 168, 0.1);
  font-weight: 900;
}

.map-node i {
  color: var(--purple);
}

.node-buy { left: 8%; top: 14%; }
.node-doc { right: 8%; top: 14%; }
.node-stock { left: 4%; top: 48%; }
.node-sale { right: 4%; top: 48%; }
.node-delivery { left: 16%; bottom: 14%; }
.node-ai { right: 16%; bottom: 14%; }

.map-caption {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 4;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 16px;
  color: #fff;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  transform: translateX(-50%);
  white-space: nowrap;
}

.map-caption strong {
  font-size: 22px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--purple));
}

.metrics article {
  min-height: 160px;
  padding: 34px 20px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.metrics i {
  display: block;
  margin: 0 auto 14px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 26px;
}

.metrics strong {
  display: block;
  color: #fff;
  font-size: clamp(40px, 5vw, 70px);
  line-height: 0.95;
}

.metrics span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 800;
}

.section-intro {
  max-width: 920px;
  margin-bottom: 42px;
}

.section-intro.narrow {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.media-section,
.deep-section {
  padding: clamp(72px, 9vw, 126px) clamp(20px, 6vw, 92px);
}

.media-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
  gap: 42px;
  align-items: center;
  background:
    radial-gradient(circle at 15% 18%, rgba(139, 63, 176, 0.1), transparent 260px),
    linear-gradient(180deg, #fff, #f8f9ff);
}

.media-copy {
  max-width: 680px;
}

.listen-panel {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  margin-top: 30px;
  padding: 24px;
  border: 1px solid rgba(16, 70, 168, 0.14);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.listen-panel > i {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  font-size: 22px;
}

.listen-panel strong {
  display: block;
  color: var(--blue);
  font-size: 22px;
}

.listen-panel p {
  margin: 8px 0 18px;
  font-size: 16px;
  line-height: 1.55;
}

.video-card {
  padding: 16px;
  border: 1px solid rgba(16, 70, 168, 0.12);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.video-tabs {
  display: inline-grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  margin-bottom: 14px;
  padding: 4px;
  border: 1px solid rgba(16, 70, 168, 0.12);
  border-radius: 999px;
  background: #f7f8fd;
}

.video-tabs button {
  min-height: 38px;
  padding: 0 16px;
  color: var(--blue);
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-weight: 900;
  cursor: pointer;
}

.video-tabs button.active {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--purple));
}

.video-frame {
  display: none;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at center, rgba(139, 63, 176, 0.16), transparent 260px),
    #0b1f4f;
}

.video-frame.active {
  display: block;
}

.video-frame iframe,
.video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.video-note {
  margin: 14px 0 0;
  color: #7b849b;
  font-size: 14px;
  line-height: 1.45;
}

.deep-section {
  background: #fff;
}

.deep-content {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 38px;
  align-items: start;
}

.deep-text {
  max-width: 820px;
}

.deep-text p {
  color: #50607d;
}

.deep-points {
  display: grid;
  gap: 14px;
}

.deep-points article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 16px;
  align-items: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(16, 70, 168, 0.05), rgba(139, 63, 176, 0.06));
}

.deep-points i {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--purple));
}

.deep-points strong {
  display: block;
  color: var(--blue);
  font-size: 20px;
}

.deep-points span {
  color: var(--muted);
  line-height: 1.55;
}

.problem-section {
  background: #fff;
}

.pain-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.pain-list article,
.solution-cards article,
.flow-line article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 16px 40px rgba(16, 70, 168, 0.08);
}

.pain-list span,
.flow-line span,
.card-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  font-weight: 950;
  font-size: 16px;
}

.pain-list span i,
.flow-line span i,
.card-icon i {
  color: #fff;
}

.pain-list strong,
.solution-cards strong,
.flow-line strong {
  display: block;
  color: var(--blue);
  font-size: 20px;
  line-height: 1.2;
}

.pain-list p,
.solution-cards p,
.flow-line p {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.58;
}

.solution-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 42px;
  align-items: start;
  background:
    radial-gradient(circle at 12% 18%, rgba(139, 63, 176, 0.08), transparent 260px),
    var(--soft);
}

.solution-copy {
  position: sticky;
  top: 110px;
}

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

.solution-cards article {
  min-height: 280px;
}

.modules-section {
  background: #fff;
}

.module-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 1050px;
  margin: 0 auto;
}

.module-cloud span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  color: var(--blue);
  border: 1px solid rgba(16, 70, 168, 0.16);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(16, 70, 168, 0.06), rgba(139, 63, 176, 0.06));
  font-weight: 900;
}

.module-cloud i {
  color: var(--purple);
  font-size: 15px;
}

.module-cloud b {
  font: inherit;
}

.flow-section {
  color: #fff;
  background: linear-gradient(135deg, var(--blue-900), var(--blue), var(--purple));
}

.flow-section .eyebrow,
.flow-section h2,
.flow-section p {
  color: #fff;
}

.flow-section .section-intro p {
  opacity: 0.84;
}

.flow-line {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.flow-line details {
  position: relative;
  min-height: 230px;
  color: var(--ink);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 16px 40px rgba(16, 70, 168, 0.08);
}

.flow-line summary {
  min-height: 230px;
  padding: 26px;
  cursor: pointer;
  list-style: none;
}

.flow-line summary::-webkit-details-marker {
  display: none;
}

.flow-line details > p {
  margin: 0;
  padding: 0 26px 26px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.58;
}

.flow-line summary p {
  color: var(--muted);
}

.flow-line details[open] {
  transform: translateY(-3px);
}

.flow-line details[open] summary {
  min-height: 190px;
}

.flow-line summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 18px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--blue);
  border: 1px solid rgba(16, 70, 168, 0.18);
  border-radius: 50%;
  font-weight: 950;
}

body[dir="rtl"] .flow-line summary::after {
  right: auto;
  left: 18px;
}

.flow-line details[open] summary::after {
  content: "-";
}

.partner-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 38px;
  align-items: center;
  background: #fff;
}

.partner-content {
  max-width: 680px;
}

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

.partner-timeline article {
  min-height: 190px;
  padding: 24px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #f7f8fd);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.partner-timeline strong {
  display: block;
  color: var(--blue);
  font-size: 24px;
}

.partner-timeline span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.55;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: center;
  justify-content: center;
  padding: 28px clamp(20px, 6vw, 92px);
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  font-weight: 850;
}

@media (max-width: 1080px) {
  .hero,
  .media-section,
  .deep-content,
  .solution-section,
  .partner-section {
    grid-template-columns: 1fr;
  }

  .solution-copy {
    position: static;
  }

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

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

@media (max-width: 820px) {
  .language-gate {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    align-content: center;
  }

  .gate-languages {
    grid-template-columns: 1fr;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    gap: 14px;
  }

  .brand {
    min-width: 0;
  }

  .main-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 420px;
  }

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

@media (max-width: 560px) {
  .language-gate {
    padding: 22px;
  }

  .gate-copy h1 {
    font-size: 40px;
  }

  .gate-languages button {
    min-height: 92px;
  }

  .site-header {
    min-height: 68px;
    padding: 12px 16px;
  }

  .brand-symbol-img {
    width: 42px;
    height: 42px;
  }

  .brand strong {
    font-size: 26px;
  }

  .brand small {
    font-size: 9px;
    letter-spacing: 3px;
  }

  .ghost-button {
    min-height: 36px;
    padding: 0 12px;
  }

  .main-nav {
    display: none;
  }

  .hero,
  .media-section,
  .deep-section,
  .problem-section,
  .solution-section,
  .modules-section,
  .flow-section,
  .partner-section {
    padding: 58px 18px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-button,
  .text-button,
  .listen-button {
    width: 100%;
  }

  .listen-panel {
    grid-template-columns: 1fr;
  }

  .video-tabs {
    display: grid;
    width: 100%;
  }

  .hero-visual {
    min-height: 360px;
  }

  .operations-map {
    min-height: 430px;
  }

  .operations-map::before {
    inset: 70px;
  }

  .operations-map::after {
    inset: 125px;
  }

  .map-center {
    width: 118px;
    height: 118px;
  }

  .map-center img {
    width: 54px;
    height: 54px;
  }

  .map-node {
    min-height: 44px;
    padding: 0 12px;
    font-size: 13px;
  }

  .node-buy { left: 2%; top: 12%; }
  .node-doc { right: 2%; top: 12%; }
  .node-stock { left: 2%; top: 46%; }
  .node-sale { right: 2%; top: 46%; }
  .node-delivery { left: 6%; bottom: 16%; }
  .node-ai { right: 6%; bottom: 16%; }

  .map-caption {
    bottom: 12px;
    max-width: calc(100% - 24px);
    white-space: normal;
    text-align: center;
  }

  .metrics,
  .pain-list,
  .solution-cards,
  .flow-line,
  .partner-timeline {
    grid-template-columns: 1fr;
  }

  .metrics article {
    min-height: 130px;
  }

  .site-footer {
    justify-content: flex-start;
  }
}
