:root {
  --ink: #102131;
  --muted: #5f7183;
  --soft: #edf4f7;
  --paper: #f8fbfc;
  --white: #ffffff;
  --navy: #071827;
  --navy-2: #10283a;
  --blue: #1267d6;
  --cyan: #20b7d6;
  --green: #4bb886;
  --line: #dbe5ea;
  --shadow: 0 24px 70px rgba(7, 24, 39, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto minmax(360px, 1fr) auto;
  gap: 24px;
  align-items: center;
  min-height: 74px;
  padding: 14px clamp(20px, 5vw, 72px);
  color: var(--white);
  background: rgba(7, 24, 39, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.brand,
.main-nav,
.header-actions,
.language-switcher,
.hero-actions,
.proof-strip,
.button {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
}

.brand-logo {
  display: block;
  width: clamp(138px, 12vw, 180px);
  height: auto;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.2));
}

.brand-copy small {
  display: block;
}

.brand-copy small {
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.main-nav {
  justify-content: center;
  gap: clamp(18px, 3vw, 36px);
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  font-weight: 700;
}

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

.header-actions {
  justify-content: end;
  gap: 12px;
}

.language-switcher {
  gap: 8px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.language-switcher span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.language-switcher select {
  width: 118px;
  border: 0;
  color: var(--white);
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  outline: 0;
}

.language-switcher option {
  color: var(--ink);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 8px;
  color: var(--navy);
  background: var(--white);
  font-size: 14px;
  font-weight: 800;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 128px clamp(20px, 5vw, 72px) 30px;
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(7, 24, 39, 0.98) 0%, rgba(12, 38, 58, 0.94) 50%, rgba(10, 54, 58, 0.9) 100%),
    var(--navy);
}

.hero::after {
  position: absolute;
  inset: auto -10% -20% 28%;
  height: 330px;
  content: "";
  background: radial-gradient(circle, rgba(32, 183, 214, 0.2), transparent 68%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(36px, 7vw, 86px);
  align-items: center;
  width: min(1260px, 100%);
  min-height: 650px;
  margin: 0 auto;
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(44px, 6.4vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.22;
}

.lead {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
}

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

.button {
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
  white-space: nowrap;
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 16px 38px rgba(32, 183, 214, 0.3);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.hero-visual {
  position: relative;
  min-height: 560px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--navy-2);
}

.hero-visual picture,
.hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 560px;
}

.hero-visual img {
  object-fit: cover;
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(7, 24, 39, 0.06), rgba(7, 24, 39, 0.46)),
    linear-gradient(90deg, rgba(7, 24, 39, 0.18), transparent 48%);
}

.visual-card {
  position: absolute;
  z-index: 2;
  width: min(310px, calc(100% - 40px));
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(7, 24, 39, 0.68);
  backdrop-filter: blur(16px);
}

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

.visual-card span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.visual-card strong {
  margin-top: 6px;
  font-size: 18px;
}

.visual-card-top {
  top: 24px;
  left: 24px;
}

.visual-card-bottom {
  right: 24px;
  bottom: 24px;
}

.proof-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1260px, 100%);
  margin: 20px auto 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
}

.proof-strip div {
  padding: 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.proof-strip div:last-child {
  border-right: 0;
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip strong {
  margin-bottom: 4px;
  font-size: 22px;
}

.proof-strip span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0;
}

.narrative-grid,
.section-heading,
.platform-inner,
.metering-inner,
.markets,
.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 0.72fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: start;
}

.narrative {
  padding-bottom: 50px;
}

.narrative p,
.section-heading p,
.platform-copy,
.market-copy p,
.contact-inner p {
  color: var(--muted);
  font-size: 17px;
}

.section-heading {
  margin-bottom: 34px;
}

.solution-grid,
.product-grid,
.trust-grid {
  display: grid;
  gap: 18px;
}

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

.feature-card,
.product-grid article,
.trust-grid div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(20, 44, 64, 0.08);
}

.feature-card {
  min-height: 310px;
  padding: 28px;
}

.feature-card span {
  display: inline-block;
  margin-bottom: 78px;
  color: var(--green);
  font-weight: 800;
}

.feature-card p,
.product-grid p,
.metering-products p,
.trust-grid span,
.market-list span {
  color: var(--muted);
}

.platform {
  background:
    linear-gradient(135deg, #0d2233, #12334a 58%, #0f3b3e),
    var(--navy);
  color: var(--white);
}

.platform-copy {
  color: rgba(255, 255, 255, 0.72);
}

.architecture {
  display: grid;
  gap: 12px;
}

.architecture-row {
  display: grid;
  grid-template-columns: 0.62fr 1fr;
  gap: 18px;
  align-items: center;
  min-height: 84px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.architecture-row span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.architecture-row strong {
  font-size: 18px;
}

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

.product-grid article {
  min-height: 230px;
  padding: 24px;
}

.metering-band {
  background:
    linear-gradient(180deg, rgba(237, 244, 247, 0.72), rgba(248, 251, 252, 1)),
    var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metering-inner {
  align-items: center;
  padding-bottom: 42px;
}

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

.metering-metrics {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.metering-metrics div {
  padding: 24px;
  background: var(--white);
}

.metering-metrics strong,
.metering-metrics span {
  display: block;
}

.metering-metrics strong {
  margin-bottom: 4px;
  color: var(--blue);
  font-size: 28px;
  line-height: 1.1;
}

.metering-metrics span {
  color: var(--muted);
  font-size: 14px;
}

.metering-products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding-top: 0;
}

.metering-products article {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 0 24px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(20, 44, 64, 0.08);
  overflow: hidden;
}

.metering-products img {
  display: block;
  width: calc(100% + 48px);
  height: auto;
  aspect-ratio: 760 / 520;
  margin: 0 -24px 22px;
  object-fit: cover;
  background: linear-gradient(180deg, #f8fbfc, #edf4f7);
}

.metering-products article > span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--green);
  font-weight: 800;
}

.metering-products dl {
  margin: auto 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.metering-products dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.metering-products dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-weight: 800;
}

.markets {
  align-items: center;
}

.market-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.market-list div {
  padding: 24px;
  background: var(--white);
}

.market-list strong,
.market-list span,
.trust-grid strong,
.trust-grid span {
  display: block;
}

.market-list strong,
.trust-grid strong {
  margin-bottom: 8px;
  font-size: 18px;
}

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

.trust-grid div {
  min-height: 210px;
  padding: 26px;
}

.contact-band {
  background: var(--white);
  border-top: 1px solid var(--line);
}

.contact-inner {
  align-items: center;
}

.contact-inner .button {
  justify-self: end;
}

[dir="rtl"] .main-nav,
[dir="rtl"] .header-actions,
[dir="rtl"] .hero-actions,
[dir="rtl"] .brand {
  flex-direction: row-reverse;
}

[dir="rtl"] .visual-card-top {
  right: 24px;
  left: auto;
}

[dir="rtl"] .visual-card-bottom {
  right: auto;
  left: 24px;
}

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: auto auto;
  }

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

  .hero-grid,
  .narrative-grid,
  .section-heading,
  .platform-inner,
  .metering-inner,
  .markets,
  .contact-inner {
    grid-template-columns: 1fr;
  }

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

  .proof-strip,
  .solution-grid,
  .product-grid,
  .metering-products,
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-inner .button {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: absolute;
    min-height: 70px;
    padding: 12px 16px;
    gap: 12px;
  }

  .brand-copy small,
  .header-cta {
    display: none;
  }

  .brand-logo {
    width: 124px;
  }

  .language-switcher {
    min-height: 38px;
    padding: 0 9px;
  }

  .language-switcher span {
    display: none;
  }

  .language-switcher select {
    width: 104px;
    font-size: 12px;
  }

  .main-nav {
    display: none;
  }

  .hero {
    padding: 112px 16px 24px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 32px;
  }

  .lead {
    font-size: 16px;
  }

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

  .visual-card {
    width: calc(100% - 32px);
    padding: 14px;
  }

  .visual-card-top {
    top: 16px;
    left: 16px;
  }

  .visual-card-bottom {
    right: 16px;
    bottom: 16px;
  }

  .proof-strip,
  .solution-grid,
  .product-grid,
  .metering-products,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .proof-strip div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .proof-strip div:last-child {
    border-bottom: 0;
  }

  .section {
    width: calc(100% - 32px);
    padding: 68px 0;
  }

  .feature-card {
    min-height: 250px;
  }

  .feature-card span {
    margin-bottom: 46px;
  }

  .architecture-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
