:root {
  --navy-950: #020817;
  --navy-900: #06152d;
  --navy-800: #0a244b;
  --blue: #2778f6;
  --cyan: #20d3ee;
  --violet: #6548f5;
  --white: #f8faff;
  --muted: #aab8d0;
  --border: rgba(127, 172, 245, 0.18);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--navy-950);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--white);
  background:
    radial-gradient(circle at 75% 18%, rgba(33, 119, 255, 0.20), transparent 32%),
    radial-gradient(circle at 86% 58%, rgba(103, 70, 245, 0.15), transparent 30%),
    linear-gradient(135deg, #020817 0%, #071b39 58%, #101541 100%);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.background {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.3;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(100, 154, 236, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 154, 236, 0.07) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000, transparent 90%);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1380px, calc(100% - 80px));
  min-height: 88px;
  margin: auto;
  border-bottom: 1px solid var(--border);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #fff;
  background: linear-gradient(140deg, var(--cyan), var(--blue) 52%, var(--violet));
  border-radius: 12px;
  box-shadow: 0 12px 35px rgba(39, 120, 246, 0.34);
  font-size: 25px;
  font-weight: 900;
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand-copy strong {
  font-size: 21px;
  letter-spacing: -0.03em;
}

.brand-copy small {
  margin-top: 4px;
  color: #9eacc4;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 32px;
  color: #bcc8da;
  font-size: 14px;
  font-weight: 650;
}

.site-header nav a {
  transition: color 0.2s ease;
}

.site-header nav a:hover {
  color: #fff;
}

.nav-login {
  padding: 12px 19px;
  color: #fff !important;
  background: rgba(29, 75, 157, 0.25);
  border: 1px solid rgba(80, 148, 255, 0.45);
  border-radius: 10px;
}

main {
  width: min(1380px, calc(100% - 80px));
  margin: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(430px, 0.96fr);
  align-items: center;
  min-height: 680px;
  gap: 70px;
  padding: 78px 0;
}

.eyebrow {
  margin: 0 0 20px;
  color: #70b4ff;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(52px, 5vw, 82px);
  line-height: 0.99;
  letter-spacing: -0.055em;
}

.hero h1 span {
  display: block;
  color: transparent;
  background: linear-gradient(90deg, #4da7ff, #27d5ed 55%, #8b72ff);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-description {
  max-width: 680px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.65;
}

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

.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 24px;
  border-radius: 11px;
  font-size: 15px;
  font-weight: 750;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.primary-button {
  color: #fff;
  background: linear-gradient(110deg, #2364e8, #6548f5);
  box-shadow: 0 17px 38px rgba(36, 86, 226, 0.34);
}

.secondary-button {
  color: #dae5f7;
  background: rgba(10, 34, 72, 0.5);
  border: 1px solid var(--border);
}

.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 30px;
  color: #8f9fb9;
  font-size: 12px;
  font-weight: 650;
}

.trust-row span::before {
  content: "✓";
  margin-right: 7px;
  color: #45c9ff;
}

.decision-visual {
  position: relative;
  min-height: 500px;
}

.decision-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 225px;
  height: 225px;
  place-items: center;
  transform: translate(-50%, -50%) rotate(45deg);
  background: linear-gradient(140deg, rgba(28, 159, 255, 0.9), rgba(93, 55, 235, 0.94));
  border: 1px solid rgba(108, 211, 255, 0.8);
  border-radius: 34px;
  box-shadow:
    0 0 105px rgba(34, 115, 255, 0.4),
    inset 0 0 48px rgba(110, 226, 255, 0.32);
}

.decision-core span {
  transform: rotate(-45deg);
  font-size: 92px;
  font-weight: 900;
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(91, 160, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-one {
  width: 405px;
  height: 405px;
}

.orbit-two {
  width: 535px;
  height: 535px;
}

.signal {
  position: absolute;
  min-width: 158px;
  padding: 15px 18px;
  background: rgba(6, 25, 59, 0.82);
  border: 1px solid rgba(94, 162, 255, 0.3);
  border-radius: 13px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(12px);
}

.signal small {
  display: block;
  margin-bottom: 7px;
  color: #79aefb;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.15em;
}

.signal strong {
  font-size: 14px;
}

.signal-one {
  top: 17%;
  left: 0;
}

.signal-two {
  top: 25%;
  right: 0;
}

.signal-three {
  right: 5%;
  bottom: 14%;
}

.capabilities {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.capabilities article {
  min-height: 270px;
  padding: 42px 32px;
  border-right: 1px solid var(--border);
}

.capabilities article:last-child {
  border-right: 0;
}

.number {
  color: #5d8ed4;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.capabilities h2 {
  margin: 40px 0 15px;
  font-size: 25px;
}

.capabilities p,
.solution-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.solutions,
.governance {
  padding: 100px 0;
}

.solutions > div:first-child h2,
.governance h2 {
  max-width: 740px;
  margin: 0;
  font-size: clamp(36px, 4vw, 55px);
  letter-spacing: -0.045em;
}

.solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 46px;
}

.solution-card {
  min-height: 310px;
  padding: 38px;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0, rgba(41, 125, 255, 0.25), transparent 42%),
    rgba(8, 29, 66, 0.62);
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.solution-card:hover {
  transform: translateY(-4px);
  border-color: rgba(88, 158, 255, 0.64);
}

.solution-card small {
  color: #77adfb;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.solution-card h3 {
  margin: 78px 0 13px;
  font-size: 30px;
}

.solution-card span {
  display: block;
  margin-top: 27px;
  color: #83b9ff;
  font-weight: 750;
}

.solution-card.agritrade {
  background:
    radial-gradient(circle at 100% 0, rgba(26, 207, 202, 0.2), transparent 42%),
    rgba(8, 29, 66, 0.62);
}

.governance {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  border-top: 1px solid var(--border);
}

.governance ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.governance li {
  padding: 18px;
  color: #cad6e9;
  background: rgba(7, 27, 60, 0.5);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.governance li::before {
  content: "◇";
  margin-right: 10px;
  color: #54c8ff;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1380px, calc(100% - 80px));
  min-height: 112px;
  margin: auto;
  color: #8595af;
  border-top: 1px solid var(--border);
  font-size: 12px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-brand strong {
  color: #fff;
  font-size: 17px;
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-status span {
  width: 8px;
  height: 8px;
  background: #28d6a1;
  border-radius: 50%;
  box-shadow: 0 0 12px #28d6a1;
}

@media (max-width: 1050px) {
  .site-header nav a:not(.nav-login) {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .decision-visual {
    display: none;
  }

  .capabilities {
    grid-template-columns: 1fr 1fr;
  }

  .governance {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .site-header,
  main,
  footer {
    width: min(100% - 36px, 1380px);
  }

  .site-header {
    min-height: 76px;
  }

  .brand-copy small {
    display: none;
  }

  .hero {
    padding: 74px 0;
  }

  .hero h1 {
    font-size: 45px;
  }

  .hero-description {
    font-size: 17px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .capabilities,
  .solution-grid,
  .governance ul {
    grid-template-columns: 1fr;
  }

  .capabilities article {
    min-height: 220px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .capabilities article:last-child {
    border-bottom: 0;
  }

  .solutions,
  .governance {
    padding: 72px 0;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
  }
}
