/*
Paystate payments 2026
Codey by Rednal Reden 
*/

:root {
  --bg: #f5f5f5;
  --about-bg: #fefefe;
 --text: #0C1018;  

  --site-width: clamp(320px, 94vw, 1470px);
  --side-pad: clamp(18px, 3vw, 36px);

  /* spacing system */
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
}

::selection {
  background: #000000;
  color: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
}

body {
  background: #f5f5f5;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

body,
.page,
.hero {
  background: var(--bg);
}

a,
button,
.cta-button {
  cursor: pointer;
}

a,
.footer-col a {
  transition:
    color 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.footer-col a:hover {
  transform: translateY(-1px);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.page {
  min-height: 100svh;
  background: var(--bg);
}

.container {
  width: var(--site-width);
  max-width: 100%;
  margin: 0 auto;
  padding-inline: 0;
}

.hero-text-block,
.hero-text-primary,
.hero-text-secondary {
  font-family: "Inter Tight", system-ui, -apple-system, sans-serif;
}


.hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      72% 58% at 50% 42%,
      rgba(12,16,24,0.12),
      rgba(0, 0, 0, 0) 70%
    );

  opacity: 0;
  pointer-events: none;
  z-index: 0;

  animation: heroBgFade 1.6s ease forwards;
  animation-delay: 0.2s;
}

@keyframes heroBgFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.hero-logo-link {
  display: inline-block;
   cursor: pointer;
}

.hero-logo-link .hero-logo {
  transition: filter 0.35s ease, transform 0.25s ease;
}

.hero-logo-link:hover .hero-logo {
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.12));
  transform: scale(1.01);
}

.hero-logo-link:hover .hero-logo {
  transform: scale(1.01);
  transition: transform 0.25s ease;
}

.hero {
  min-height: 100svh;
  display: grid;
  position: relative;
  overflow: hidden;
  place-items: center;
  transition: background-color 0.4s ease;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  height: 22vh;
  background: linear-gradient(
    to bottom,
    rgba(245, 245, 245, 0),
    var(--about-bg)
  );

  opacity: var(--hero-darkness, 0);
  transition: opacity 0.4s ease-out;

  pointer-events: none;
  z-index: 0; /* belangrijk */
}

.hero-gradient-transition {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 22vh;
  background: linear-gradient(
    to bottom,
    rgba(245, 245, 245, 0),
    var(--about-bg)
  );
  pointer-events: none;
  z-index: 0;
}

.hero-logo-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
   position: relative;
  z-index: 1;
}

.hero-logo {
  width: var(--site-width);
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  opacity: 0;
  will-change: transform, opacity;
  animation:
    logoReveal 1.4s cubic-bezier(0.22, 0.8, 0.25, 1) forwards,
    floatY 7s ease-in-out 1.6s infinite;
}

.hero-text-block {
  margin-top: 72px;

 /* tekstblok optisch onder de linkerkant van het logo */
  width: var(--site-width);
  margin-left: auto;
  margin-right: auto;
  
  text-align: left;
  position: relative;
  z-index: 1;
 
}
.hero-text-primary,
.hero-text-secondary {
  max-width: 820px;
  letter-spacing: -0.015em;
}

/*Primary (eerste regel) */
.hero-text-primary {
  font-family: "Inter Tight", system-ui, sans-serif;
  font-weight: 600;   /*hoofdzin */
  font-size: clamp(1.8rem, 2.8vw, 2.9rem);
  line-height: 1.15;
  color: #0C1018;
}

/*Secondary (fade effect) */
.hero-text-secondary {
  font-family: "Inter Tight", system-ui, sans-serif;
  font-weight: 400;   /*contrast */
  font-size: clamp(1.8rem, 2.8vw, 2.1rem);
  line-height: 1.2;
  color: rgba(0, 0, 0, 0.45); /*effect */
  margin-top: 4px;
}


.hero-network-layer {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  pointer-events: none;
  z-index: 0;

  opacity: 1;
  overflow: hidden;
}

.hero-network-svg {
  width: min(1200px, 92vw);
  height: auto;

  opacity: 0.95;
  mix-blend-mode: multiply;
  filter: blur(0.2px);

  transform: translateY(-24px) scale(1.02);
  animation: networkFloat 12s ease-in-out infinite;
}

@keyframes networkFloat {
  0% {
    transform: translateY(-24px) scale(1.02);
  }

  50% {
    transform: translateY(-34px) scale(1.025);
  }

  100% {
    transform: translateY(-24px) scale(1.02);
  }
}

.hero-network-background {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  pointer-events: none;

  z-index: 0;

  opacity: 0.34;
  overflow: hidden;
}

.hero-network-depth-svg {
  width: min(1600px, 110vw);
  height: auto;

  opacity: 0.42;

  mix-blend-mode: multiply;

  filter: blur(0.4px);

  transform: scale(1.08);

  animation: depthFloat 18s ease-in-out infinite;
}

@keyframes depthFloat {
  0% {
    transform: scale(1.08) translateY(0px);
  }

  50% {
    transform: scale(1.1) translateY(-12px);
  }

  100% {
    transform: scale(1.08) translateY(0px);
  }
}

.reveal-line {
  opacity: 0;
  transform: translateY(16px);
  filter: blur(3px);
  transition:
   opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.2s cubic-bezier(0.22, 1, 0.36, 1),
    filter 1.2s cubic-bezier(0.22, 1, 0.36, 1);
	transition: 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}



.reveal-line.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.reveal-line-delay {
  transition-delay: 0.45s;
}

.about::before {
  content: "";

  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      circle at 12% 18%,
      rgba(12,16,24,0.035),
      transparent 24%
    ),

    radial-gradient(
      circle at 82% 72%,
      rgba(12,16,24,0.03),
      transparent 28%
    );

  pointer-events: none;

  z-index: 0;
}

.about {
 padding: 120px 0 80px;
  border-top: 1px solid rgba(0,0,0,0.04);
  background: var(--about-bg);
  position: relative;
  overflow: hidden;
}

.about-grid {
  display: grid;
  padding-left: 0;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  position: relative;
  z-index: 1;

}

.about-col {
  max-width: none; /*belangrijk */
}

.about-label {
  font-family: "Inter Tight", system-ui, sans-serif;
  font-size: 0.91rem;
  font-weight: 500;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.4);
}

.about-text {
  font-family: "Inter Tight", system-ui, sans-serif;
  font-size: 1.28rem;
  line-height: 1.7;
  letter-spacing: -0.015em;
  color: #0C1018;
  

}

.about .container {
   width: var(--site-width);
   max-width: 100%;
   margin: 0 auto;
   padding-inline: 0;
}

@keyframes lineReveal {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}



@keyframes logoReveal {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(0.985);
    filter: blur(10px);
  }

  60% {
    opacity: 1;
    transform: translateY(6px) scale(1);
    filter: blur(2px);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes floatY {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-6px); }
  100% { transform: translateY(0px); }
}

.hero-logo-wrap {
  will-change: transform;
  transition: transform 0.18s ease-out;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-line {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

.features-intro {
  padding: 72px 0 0;
  background: var(--about-bg);
}

.features-intro .container {
  width: var(--site-width);
  max-width: 100%;
  margin: 0 auto;
  padding-inline: 0;
}

.features-intro-text {
  font-family: "Inter Tight", system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(1.8rem, 2.8vw, 2.9rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: #0C1018;
  max-width: 820px;
}

.features-intro-subtext {
  font-family: "Inter Tight", system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(1.8rem, 2.8vw, 2.1rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: rgba(0, 0, 0, 0.45);

  max-width: 820px;
  margin-top: 4px;
}

/* Features */
.features {
  padding: 40px 0 65px;
  background: var(--about-bg);

}

.features .container {
 width: var(--site-width);
  max-width: 100%;
  padding-inline: 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--space-xl);
  row-gap: calc(var(--space-xl) * 2);

}

.feature-card {
  min-width: 0;
}
.feature-card {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.feature-card:hover {
  transform: translateY(-4px);
}
.feature-card:hover .feature-infra-layer {
  opacity: 0.9;
}

.feature-card:hover .infra-node {
  transform: scale(1.22);
  background: rgba(12,16,24,0.2);
}

.feature-card:hover .infra-rail {
  opacity: 1;
}

.feature-card:hover .infra-particle {
  animation-duration: 3.5s;
}

.feature-copy {
  padding-top: var(--space-xl);
  font-family: "Inter Tight", system-ui, sans-serif;
  color: #0C1018;
  display: flex;
  flex-direction: column;
}

.feature-kicker {
  font-family: "Inter Tight", system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: var(--space-lg); /* 24px */
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.4);
}

.feature-copy h2,
.feature-copy > p:last-child {
  font-family: "Inter Tight", system-ui, sans-serif;
  letter-spacing: -0.015em;
  color: #0C1018;
  margin-top: 0;
  padding-top: 0;
}

.feature-copy h2 {
  font-size: 1.3rem;
  line-height: 1.4;
  font-weight: 500;
  margin-bottom: calc(var(--space-lg) + 4px); /* 28px */
}

.feature-copy > p:last-child {
  font-size: 1.2rem;
  line-height: 1.55;
  font-weight: 400;
}

.feature-image-wrap {
	 position: relative;

}

.feature-infra-layer {
  position: absolute;
  inset: 0;

  pointer-events: none;

  background:
    radial-gradient(circle at 20% 30%, rgba(12,16,24,0.08), transparent 24%),
    radial-gradient(circle at 76% 70%, rgba(12,16,24,0.06), transparent 26%),
    linear-gradient(135deg, rgba(12,16,24,0.04), transparent 55%);

  opacity: 0.65;

  z-index: 0;
}

/* Infrastructure nodes */

.infra-node {
  position: absolute;

  width: 8px;
  height: 8px;

  border-radius: 999px;

  background: rgba(12,16,24,0.14);

  animation: infraPulse 4s ease-in-out infinite;
  
  transition:
  transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
  background-color 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}



.node-1 {
  top: 22%;
  left: 18%;
}

.node-2 {
  top: 54%;
  right: 24%;
}

.node-3 {
  bottom: 18%;
  left: 46%;
}

/* Rails */

.infra-rail {
  position: absolute;

  height: 1px;

  background: linear-gradient(
    to right,
    rgba(12,16,24,0.04),
    rgba(12,16,24,0.12),
    rgba(12,16,24,0.04)
  );

  transform-origin: left center;
  
  opacity: 0.72;

transition:
  opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  
}

  

.rail-1 {
  width: 180px;

  top: 28%;
  left: 20%;

  transform: rotate(18deg);
}

.rail-2 {
  width: 140px;

  bottom: 24%;
  left: 38%;

  transform: rotate(-12deg);
}

/* Animation */

@keyframes infraPulse {
  0% {
    opacity: 0.35;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.18);
  }

  100% {
    opacity: 0.35;
    transform: scale(1);
  }
}

.ambient-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.ambient-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(12,16,24,0.16);
  opacity: 0;
  animation: ambientDrift 12s ease-in-out infinite;
}

.ap-1 {
  left: 18%;
  top: 24%;
  animation-delay: 0s;
}

.ap-2 {
  right: 20%;
  top: 32%;
  animation-delay: 2s;
}

.ap-3 {
  left: 42%;
  top: 18%;
  animation-delay: 4s;
}

.ap-4 {
  right: 34%;
  bottom: 24%;
  animation-delay: 6s;
}

.ap-5 {
  left: 28%;
  bottom: 30%;
  animation-delay: 8s;
}

@keyframes ambientDrift {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.8);
  }

  20% {
    opacity: 0.55;
  }

  60% {
    opacity: 0.45;
  }

  100% {
    opacity: 0;
    transform: translateY(-42px) scale(1);
  }
}


/* Transaction particles */

.infra-particle {
  position: absolute;

  width: 6px;
  height: 6px;

  border-radius: 999px;

  background: rgba(12,16,24,0.22);

  box-shadow:
    0 0 12px rgba(12,16,24,0.08);

  z-index: 2;
}

.particle-1 {
  top: 26%;
  left: 18%;

  animation: particleFlow1 6s linear infinite;
}

.particle-2 {
  bottom: 22%;
  left: 42%;

  animation: particleFlow2 7s linear infinite;
}

/* Flow animations */

@keyframes particleFlow1 {
  0% {
    transform: translate(0px, 0px);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  50% {
    transform: translate(120px, 38px);
    opacity: 1;
  }

  100% {
    transform: translate(180px, 58px);
    opacity: 0;
  }
}

@keyframes particleFlow2 {
  0% {
    transform: translate(0px, 0px);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  50% {
    transform: translate(90px, -22px);
    opacity: 1;
  }

  100% {
    transform: translate(140px, -36px);
    opacity: 0;
  }
}

.feature-image {
 
  position: relative;
  z-index: 1;
}


.feature-card:hover .feature-image-wrap {
  transform: translateY(-2px);
}

.feature-label {
  margin-bottom: 12px;
  text-transform: uppercase;
  font-size: 0.91rem;
  opacity: 0.6;

}

.feature-title {
  margin-bottom: 8px;
}

.feature-text {
  margin-top: 0;
}

.cta-section {
  background: var(--about-bg);
  padding: 90px 0 120px;
}

.cta-inner {
  border-top: 1px solid rgba(0,0,0,0.04);
  padding-top: 56px;

  display: flex;
  flex-direction: column; /* dit is de key */
  align-items: flex-start;
  gap: var(--space-lg);
}

.cta-text {
  font-family: "Inter Tight", system-ui, sans-serif;
  font-size: clamp(1.8rem, 2.8vw, 2.9rem);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #0C1018;
  max-width: 960px;
}

.cta-section .container {
  width: var(--site-width);
  max-width: 100%;
  margin: 0 auto;
  padding-inline: 0;
}

.cta-button {
  font-family: "Inter Tight", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #ffffff;
  background: #0C1018;
 margin-top: 20px;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
 
  display: inline-flex;
  align-items: center;

     transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.cta-button::after {
  content: "→";
  margin-left: 6px;
  opacity: 0;
  font-size: 0.95em;
  transform: translateX(-2px);
  transition:
    opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.cta-button:hover {
  transform: translateY(-2px);
  background: #000000;
}

.cta-button:hover::after {
  opacity: 1;
  transform: translateX(2px);
}

.footer {
  position: relative;
  background: var(--about-bg);
  color: var(--text);
  padding: 160px 0 56px;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;

 background: 
    radial-gradient(
      60% 50% at 50% 55%,
      rgba(0, 0, 0, 0.03),
      rgba(0, 0, 0, 0) 70%
    ),
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0) 0%,
      rgba(12, 16, 24, 0.04) 60%,
      rgba(12, 16, 24, 0.14) 100%
    );
 
 
  pointer-events: none;
  z-index: 0;
}

.footer-inner {
  width: var(--site-width);
  max-width: 100%;
  margin: 0 auto;
  padding-inline: 0;

  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  column-gap: var(--space-xl);
}

.footer-gradient-transition {
  display: none;
}

.footer-brand {
  color: #0C1018;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  font-family: "Inter Tight", system-ui, sans-serif;
  font-size: 1rem;
  text-decoration: none;
  color: rgba(0,0,0,0.65);

}

.footer-col a:hover {
  color: #0C1018;
}

.footer-heading {
  font-family: "Inter Tight", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #0C1018;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
   line-height: 1.4;
}

.footer-links a {
  color: rgba(0,0,0,0.55);
}

.footer-links a:hover {
  color: #0C1018;
}

.footer-copy {
  font-family: "Inter Tight", system-ui, sans-serif;
  font-size: 1rem;
  color: rgba(0,0,0,0.7);
   line-height: 1.4;
}

.footer-right {
  display: grid;
  grid-template-columns: repeat(2, auto);
  column-gap: 80px;
  align-items: start;
  justify-self: end;
}

.footer-left,
.footer-right,
.footer-copy,
.footer-heading {
  margin-top: 0;
  padding-top: 0;
}

.footer-copy,
.footer-heading {
  line-height: 1.2;
}

.footer-institutional {
  font-size: 0.95rem;
  color: rgba(0,0,0,0.42);
  margin-top: 56px;
  letter-spacing: -0.01em;
}

.footer-disclaimer {
  margin-top: 64px;   /* was 80px → strakker */
  padding-top: 20px;  /* was 24px → subtieler */

  border-top: 1px solid rgba(0,0,0,0.04);

  max-width: 100%;
}

.footer-disclaimer p {
	max-width: 100%;
  font-family: "Inter Tight", system-ui, sans-serif;
  font-size: 0.85rem;
  line-height: 1.5;
  letter-spacing: -0.01em;

  color: rgba(0,0,0,0.2);
}

.footer-disclaimer-inner {
  width: var(--site-width);
  max-width: 100%;
  margin: 0 auto;
  padding-inline: 0;
}

.footer-network-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.footer-node {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(12,16,24,0.12);
  animation: footerNodePulse 7s ease-in-out infinite;
}

.node-a {
  left: 14%;
  top: 34%;
}

.node-b {
  right: 22%;
  top: 48%;
  animation-delay: 1.4s;
}

.node-c {
  left: 52%;
  bottom: 22%;
  animation-delay: 2.6s;
}

.footer-rail {
  position: absolute;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(12,16,24,0.12),
    transparent
  );
  opacity: 0.55;
}

.rail-a {
  width: 420px;
  left: 18%;
  top: 38%;
  transform: rotate(8deg);
}

.rail-b {
  width: 520px;
  right: 12%;
  bottom: 30%;
  transform: rotate(-11deg);
}

@keyframes footerNodePulse {
  0%, 100% {
    opacity: 0.25;
    transform: scale(1);
  }

  50% {
    opacity: 0.75;
    transform: scale(1.18);
  }
}

/* Final UX polish */

/* Smooth anchor scrolling */
html {
  scroll-behavior: smooth;
}

/* Selection */
::selection {
  background: #000;
  color: #fff;
}

::-moz-selection {
  background: #000;
  color: #fff;
}

/* Global interactive feel */
a,
button,
.cta-button {
  cursor: pointer;
}

/* Consistent easing */
a,
.footer-col a,
.hero-logo-link,
.cta-button,
.feature-card,
.feature-image-wrap {
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Footer link hover */
.footer-col a {
  transition:
    color 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.footer-col a:hover {
  transform: translateY(-1px);
}

/* Feature hover */
.feature-card {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-image-wrap {
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.feature-card:hover .feature-image-wrap {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(12, 16, 24, 0.06);
}

/* CTA focus + keyboard accessibility */
.cta-button:focus-visible,
.footer-col a:focus-visible,
.hero-logo-link:focus-visible {
  outline: 2px solid rgba(12, 16, 24, 0.45);
  outline-offset: 4px;
}

/* Slightly softer CTA active state */
.cta-button:active {
  transform: translateY(0);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* =========================
   Contact Modal
========================= */

.contact-modal {
  position: fixed;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 24px;

  background: rgba(12, 16, 24, 0.32);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.35s cubic-bezier(0.22, 1, 0.36, 1);

  z-index: 9999;
}

.contact-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Panel */

.contact-modal-panel {
  width: 100%;
  max-width: 640px;

  background: rgba(255,255,255,0.92);

  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 28px;

  padding: 42px;

  box-shadow:
    0 24px 80px rgba(12,16,24,0.12);

  transform: translateY(16px) scale(0.985);

  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);

  position: relative;
}

.contact-modal.is-open .contact-modal-panel {
  transform: translateY(0) scale(1);
}

/* Close */

.contact-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;

  width: 40px;
  height: 40px;

  border: none;
  border-radius: 999px;

  background: rgba(0,0,0,0.04);
  color: #0C1018;

  font-size: 1.2rem;
  cursor: pointer;

  transition:
    background-color 0.25s ease,
    transform 0.25s ease;
}

.contact-modal-close:hover {
  background: rgba(0,0,0,0.08);
  transform: rotate(90deg);
}

/* Label */

.contact-modal-label {
  font-family: "Inter Tight", system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 500;

  letter-spacing: 0.06em;
  text-transform: uppercase;

  color: rgba(0,0,0,0.4);

  margin-bottom: 12px;
}

/* Heading */

.contact-modal-panel h2 {
  font-family: "Inter Tight", system-ui, sans-serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 600;

  color: #0C1018;

  max-width: 420px;

  margin-bottom: 36px;
}

/* Form */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Inputs */

.contact-form input,
.contact-form textarea {
  width: 100%;

  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.7);

  border-radius: 18px;

  padding: 18px 20px;

  font-family: "Inter Tight", system-ui, sans-serif;
  font-size: 1rem;

  color: #0C1018;

  outline: none;

  transition:
    border-color 0.25s ease,
    background-color 0.25s ease,
    transform 0.25s ease;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

/* Focus */

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(12,16,24,0.2);
  background: rgba(255,255,255,1);
}

/* Placeholder */

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(0,0,0,0.35);
}

/* Submit */

.contact-form button {
  align-self: flex-start;

  border: none;
  border-radius: 999px;

  background: #0C1018;
  color: #ffffff;

  padding: 14px 22px;

  font-family: "Inter Tight", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 500;

  cursor: pointer;

  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-form button:hover {
  transform: translateY(-2px);
  background: #000000;
}

/* Status */

.contact-form-status {
  font-family: "Inter Tight", system-ui, sans-serif;
  font-size: 0.92rem;
  color: rgba(0,0,0,0.5);
  margin-top: 6px;
}

.contact-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

/* =========================
   Contact Success State
========================= */

.contact-success {
  display: none;

  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;

  padding: 48px 12px 24px;
}

.contact-success.is-visible {
  display: flex;
  animation: successFade 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-success-icon {
  width: 72px;
  height: 72px;

  border-radius: 999px;

  background: rgba(12,16,24,0.06);

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 2rem;
  font-weight: 500;

  color: #0C1018;

  margin-bottom: 24px;

  animation: successPop 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-success h3 {
  font-family: "Inter Tight", system-ui, sans-serif;
  font-size: 2rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 600;

  color: #0C1018;

  margin-bottom: 14px;
}

.contact-success p {
  font-family: "Inter Tight", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;

  color: rgba(0,0,0,0.55);
}

@keyframes successFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes successPop {
  0% {
    opacity: 0;
    transform: scale(0.82);
  }

  70% {
    opacity: 1;
    transform: scale(1.04);
  }

  100% {
    transform: scale(1);
  }
}

/* =========================
   Infrastructure System
========================= */

.infrastructure-system {
  position: relative;

  padding: 140px 0;

  background: #fefefe;

  overflow: hidden;
}

.infra-header {
  margin-bottom: 80px;
}

.infra-label {
  font-family: "Inter Tight", system-ui, sans-serif;

  font-size: 0.82rem;
  font-weight: 500;

  letter-spacing: 0.08em;
  text-transform: uppercase;

  color: rgba(0,0,0,0.42);

  margin-bottom: 16px;
}

.infra-title {
  font-family: "Inter Tight", system-ui, sans-serif;

  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;

  font-weight: 600;

  color: #0C1018;

  max-width: 980px;
}

/* Visual */

.infra-visual {
  position: relative;

  height: 720px;

  border-radius: 40px;

  background:
    radial-gradient(
      circle at center,
      rgba(12,16,24,0.025),
      transparent 70%
    );

  overflow: hidden;
}

/* Core */

.infra-core-node {
  position: absolute;

  left: 50%;
  top: 50%;

  transform: translate(-50%, -50%);

  width: 180px;
  height: 180px;

  border-radius: 999px;

  background:
    radial-gradient(
      circle at 30% 30%,
      rgba(255,255,255,0.9),
      rgba(12,16,24,0.04)
    );

  border: 1px solid rgba(12,16,24,0.08);

  display: flex;
  align-items: center;
  justify-content: center;

  backdrop-filter: blur(10px);

  z-index: 3;

  box-shadow:
    0 24px 80px rgba(12,16,24,0.08);
	
	animation: orchestrationPulse 7s ease-in-out infinite;
	  
	 
}
@keyframes orchestrationPulse {
  0% {
    transform:
      translate(-50%, -50%)
      scale(1);

    box-shadow:
      0 24px 80px rgba(12,16,24,0.08);
  }

  50% {
    transform:
      translate(-50%, -50%)
      scale(1.08);

    box-shadow:
      0 42px 140px rgba(12,16,24,0.18);
  }

  100% {
    transform:
      translate(-50%, -50%)
      scale(1);

    box-shadow:
      0 24px 80px rgba(12,16,24,0.08);
  }
}



.infra-core-node span {
  font-family: "Inter Tight", system-ui, sans-serif;

  font-size: 1.2rem;
  font-weight: 600;

  letter-spacing: -0.02em;

  color: #0C1018;
}

/* Endpoints */

.infra-endpoint {
  position: absolute;

  width: 120px;
  height: 120px;

  border-radius: 999px;

  border: 1px solid rgba(12,16,24,0.08);

  background: rgba(255,255,255,0.7);

  display: flex;
  align-items: center;
  justify-content: center;

  backdrop-filter: blur(8px);

  z-index: 2;
  
  animation: endpointFloat 9s ease-in-out infinite;
}

.infra-endpoint span {
  font-family: "Inter Tight", system-ui, sans-serif;

  font-size: 0.95rem;
  font-weight: 500;

  color: #0C1018;
}

/* Positions */

.endpoint-1 {
  top: 14%;
  left: 18%;
}

.endpoint-2 {
  top: 20%;
  right: 14%;
  animation-delay: 1.8s;
}

.endpoint-3 {
  bottom: 12%;
  left: 50%;

  transform: translateX(-50%) translateY(0px);
  animation-delay: 3.2s;
  
  animation: endpointFloatCenter 10s ease-in-out infinite;
}

@keyframes endpointFloatCenter {
  0% {
    transform: translateX(-50%) translateY(0px);
  }

  50% {
    transform: translateX(-50%) translateY(-10px);
  }

  100% {
    transform: translateX(-50%) translateY(0px);
  }
}

@keyframes endpointFloat {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* Lines */

.infra-line {
  position: absolute;

  height: 1px;

  background: linear-gradient(
    to right,
    rgba(12,16,24,0.02),
    rgba(12,16,24,0.14),
    rgba(12,16,24,0.02)
  );

  transform-origin: left center;

  z-index: 1;
  animation: railGlow 6s ease-in-out infinite;
}

.line-1 {
  width: 340px;

  left: 26%;
  top: 34%;

  transform: rotate(18deg);
}

.line-2 {
  width: 320px;

  right: 22%;
  top: 38%;

  transform: rotate(-20deg);
   animation-delay: 1.4s;
}

.line-3 {
  width: 280px;

  left: 50%;
  bottom: 26%;

  transform:
    translateX(-50%)
    rotate(90deg);
	
	animation-delay: 2.8s;
}

@keyframes railGlow {
  0%, 100% {
    opacity: 0.45;
  }

  50% {
    opacity: 1;
  }
}

/* Pulses */

.infra-pulse {
  position: absolute;

  width: 10px;
  height: 10px;

  border-radius: 999px;

  background: rgba(12,16,24,0.18);

  box-shadow:
    0 0 18px rgba(12,16,24,0.08);

  z-index: 4;
}

.pulse-1 {
  animation: infraFlow1 7s linear infinite;
}

.pulse-2 {
  animation: infraFlow2 8s linear infinite;
}

.pulse-3 {
  animation: infraFlow3 6s linear infinite;
}

/* Flow motion */

@keyframes infraFlow1 {
  0% {
    left: 31%;
    top: 36%;
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  100% {
    left: 48%;
    top: 49%;
    opacity: 0;
  }
}

@keyframes infraFlow2 {
  0% {
    right: 28%;
    top: 39%;
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  100% {
    right: 47%;
    top: 49%;
    opacity: 0;
  }
}

@keyframes infraFlow3 {
  0% {
    left: 50%;
    bottom: 30%;
    opacity: 0;

    transform: translateX(-50%);
  }

  10% {
    opacity: 1;
  }

  100% {
    left: 50%;
    bottom: 49%;
    opacity: 0;

    transform: translateX(-50%);
  }
}

/* =========================
   Legal Pages
========================= */

.legal-page {
  padding: 180px 0 120px;
  background: #fefefe;
}

.legal-container {
  width: var(--site-width);
  max-width: 100%;
}

.legal-label {
  font-family: "Inter Tight", system-ui, sans-serif;

  font-size: 0.82rem;
  font-weight: 500;

  letter-spacing: 0.08em;
  text-transform: uppercase;

  color: rgba(0,0,0,0.42);

  margin-bottom: 18px;
}

.legal-title {
  font-family: "Inter Tight", system-ui, sans-serif;

  font-size: clamp(2.4rem, 4vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.05em;

  font-weight: 600;

  color: #0C1018;

  margin-bottom: 72px;
}

.legal-content {
  max-width: 920px;

  font-family: "Inter Tight", system-ui, sans-serif;

  font-size: 1.08rem;
  line-height: 1.9;

  color: rgba(12,16,24,0.82);
}

.legal-content h2 {
  font-size: 1.2rem;
  margin-top: 56px;
  margin-bottom: 18px;

  color: #0C1018;
}

.legal-content p {
  margin-bottom: 22px;
}