:root {
  --navy: #0e1a83;
  --navy-light: #2f45e0;
  --red: #e42b37;
  --bg-0: #04060f;
  --bg-1: #070b1f;
  --card-bg: rgba(10, 14, 32, 0.55);
  --card-border: rgba(255, 255, 255, 0.1);
  --text-main: #f3f4f8;
  --text-dim: #9aa1c2;
  --text-dimmer: #656d94;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg-0);
  color: var(--text-main);
  overflow-x: hidden;
  position: relative;
}

/* ---------- Background layers ---------- */

.bg-base {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: #04060f url("assets/Background.png") center / cover no-repeat;
}

.bg-grid,
.bg-scan,
.orb,
.collage {
  display: none;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(to right, rgba(154, 161, 194, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(154, 161, 194, 0.08) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 75% 75% at 50% 40%, black 30%, transparent 85%);
}

.bg-scan {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.025) 0px,
    rgba(255, 255, 255, 0.025) 1px,
    transparent 1px,
    transparent 3px
  );
}

.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(70px);
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}

.orb-1 {
  width: 46vw;
  height: 46vw;
  max-width: 620px;
  max-height: 620px;
  top: -12%;
  left: -10%;
  background: radial-gradient(circle, rgba(47, 69, 224, 0.45), transparent 70%);
  animation: drift-1 22s ease-in-out infinite;
}

.orb-2 {
  width: 38vw;
  height: 38vw;
  max-width: 520px;
  max-height: 520px;
  bottom: -14%;
  right: -8%;
  background: radial-gradient(circle, rgba(228, 43, 55, 0.32), transparent 70%);
  animation: drift-2 26s ease-in-out infinite;
}

@keyframes drift-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(4vw, 3vh) scale(1.08); }
}

@keyframes drift-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-3vw, -4vh) scale(1.1); }
}

/* ---------- Layout ---------- */

.page {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 20px;
}

.badges-field {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* ---------- Card ---------- */

.card {
  position: relative;
  width: min(620px, 100%);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 28px;
  padding: 46px 40px 34px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  text-align: center;
  animation: card-in 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes card-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.logo-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f5f6fa;
  border-radius: 18px;
  padding: 16px 22px;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.5);
}

.logo-chip img {
  height: 46px;
  width: auto;
  display: block;
}

.eyebrow {
  margin: 28px 0 6px;
  font-size: 12.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 600;
}

h1 {
  margin: 0;
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

h1 span {
  background: linear-gradient(90deg, #b9c2ff, #ffffff 45%, #ffb3ba);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.progress-track {
  margin-top: 30px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 40%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--navy-light), var(--red));
  animation: progress-slide 3.2s ease-in-out infinite;
}

@keyframes progress-slide {
  0% { transform: translateX(-120%); width: 40%; }
  50% { width: 55%; }
  100% { transform: translateX(280%); width: 40%; }
}

.contact {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.contact a:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.contact svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  opacity: 0.85;
}

hr.divider {
  border: none;
  height: 1px;
  margin: 32px 0 22px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}

.legal {
  color: var(--text-dimmer);
  font-size: 12px;
  line-height: 1.8;
}

.legal .entity {
  color: var(--text-dim);
  font-weight: 600;
  font-size: 12.5px;
}

.legal .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 10px;
}

.legal .sep {
  opacity: 0.4;
}

/* ---------- Background collage / watermarks ---------- */

.collage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.mark {
  position: absolute;
  display: block;
  aspect-ratio: 1 / 1;
  color: var(--navy-light);
  opacity: 0.1;
  animation: mark-breathe 14s ease-in-out infinite;
}

.mark.accent {
  color: var(--red);
}

.mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

@keyframes mark-breathe {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50% { transform: translateY(-10px) rotate(var(--rot, 0deg)); }
}

.m1  { top: 6%;  left: 7%;  width: clamp(70px, 9vw, 130px);  --rot: -12deg; opacity: 0.12; animation-delay: 0s; }
.m2  { top: 10%; left: 66%; width: clamp(80px, 11vw, 160px); --rot: 8deg;   opacity: 0.09; animation-delay: 1.4s; }
.m3  { top: 28%; left: 1%;  width: clamp(60px, 8vw, 110px);  --rot: 5deg;   opacity: 0.1;  animation-delay: 2.8s; }
.m4  { top: 44%; left: 80%; width: clamp(90px, 12vw, 180px); --rot: -6deg;  opacity: 0.1;  animation-delay: 4.2s; }
.m5  { top: 58%; left: 12%; width: clamp(55px, 7vw, 95px);   --rot: 14deg;  opacity: 0.11; animation-delay: 5.6s; }
.m6  { top: 68%; left: 58%; width: clamp(75px, 10vw, 140px); --rot: -10deg; opacity: 0.09; animation-delay: 7s; }
.m7  { top: 4%;  left: 40%; width: clamp(65px, 8vw, 115px);  --rot: 6deg;   opacity: 0.1;  animation-delay: 8.4s; }
.m8  { top: 80%; left: 6%;  width: clamp(80px, 10vw, 150px); --rot: 9deg;   opacity: 0.1;  animation-delay: 9.8s; }
.m9  { top: 84%; left: 68%; width: clamp(70px, 9vw, 130px);  --rot: -8deg;  opacity: 0.09; animation-delay: 11.2s; }
.m10 { top: 36%; left: 46%; width: clamp(40px, 5vw, 70px);   --rot: 20deg;  opacity: 0.07; animation-delay: 3.5s; }
.m11 { top: 64%; left: 88%; width: clamp(45px, 6vw, 80px);   --rot: 15deg;  opacity: 0.08; animation-delay: 6.3s; }
.m12 { top: 16%; left: 88%; width: clamp(55px, 7vw, 95px);   --rot: -15deg; opacity: 0.08; animation-delay: 9.1s; }
.m13 { top: 92%; left: 36%; width: clamp(50px, 6vw, 90px);   --rot: 5deg;   opacity: 0.07; animation-delay: 12.6s; }

@media (max-width: 1180px) {
  .page {
    padding: 48px 16px 40px;
  }
}

@media (max-width: 520px) {
  .card {
    padding: 34px 22px 26px;
    border-radius: 22px;
  }
  .contact a { font-size: 12.5px; padding: 9px 13px; }
  .mark { opacity: 0.07 !important; }
}
