:root {
  --blue: #31406f;
  --blue-deep: #24345f;
  --pink: #efb7c0;
  --pink-deep: #e7a8b4;
  --white: #ffffff;
  --text: #1f2a44;
  --text-soft: rgba(31, 42, 68, 0.78);
  --line: rgba(49, 64, 111, 0.2);
  --bg: #e9eef8;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  position: relative;
  overflow: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 18%, rgba(255,255,255,0.62) 0%, rgba(255,255,255,0) 26%),
    radial-gradient(circle at 82% 16%, rgba(239,183,192,0.26) 0%, rgba(239,183,192,0) 28%),
    radial-gradient(circle at 78% 82%, rgba(49,64,111,0.14) 0%, rgba(49,64,111,0) 30%),
    linear-gradient(180deg, #f2f5fb 0%, #e7edf8 100%);
}

.page {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 32px 40px 28px;
}

.topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  width: min(330px, 62vw);
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid rgba(58, 72, 117, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 8px rgba(248, 195, 194, 0.22);
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 900px;
  padding: 40px 0;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 6.2rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-weight: 600;
  color: var(--blue);
  text-wrap: balance;
}

.contact {
  margin: 28px 0 0;
}

.contact a {
  color: var(--text);
  text-decoration: none;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 600;
  border-bottom: 1px solid rgba(58, 72, 117, 0.25);
  padding-bottom: 4px;
  transition: opacity 0.25s ease, border-color 0.25s ease;
}

.contact a:hover {
  opacity: 0.72;
  border-color: rgba(58, 72, 117, 0.45);
}

.footer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.footer-col p {
  margin: 0 0 8px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-soft);
}

.footer-col p strong {
  color: var(--blue);
  font-weight: 700;
}

.bg-orb {
  position: fixed;
  inset: auto;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.9;
  pointer-events: none;
  mix-blend-mode: soft-light;
  z-index: 0;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  will-change: transform, opacity;
}

.orb-1 {
  width: 34vw;
  height: 34vw;
  min-width: 280px;
  min-height: 280px;
  background: rgba(110, 156, 255, 0.5);
  top: 6%;
  left: 6%;
  animation: floatOne 18s infinite alternate ease-in-out, pulse 12s infinite ease-in-out;
}

.orb-2 {
  width: 30vw;
  height: 30vw;
  min-width: 240px;
  min-height: 240px;
  background: rgba(239, 183, 192, 0.48);
  top: 10%;
  right: 8%;
  animation: floatTwo 22s infinite alternate ease-in-out, pulse 14s infinite ease-in-out;
}

.orb-3 {
  width: 36vw;
  height: 36vw;
  min-width: 280px;
  min-height: 280px;
  background: rgba(255, 255, 255, 0.34);
  bottom: -8%;
  left: 22%;
  animation: floatThree 26s infinite alternate ease-in-out, pulse 16s infinite ease-in-out;
}

.orb-4 {
  width: 24vw;
  height: 24vw;
  min-width: 220px;
  min-height: 220px;
  background: rgba(67, 103, 196, 0.34);
  bottom: 8%;
  right: 10%;
  animation: floatFour 20s infinite alternate ease-in-out, pulse 13s infinite ease-in-out;
}

.orb-1 { animation: floatOne 18s infinite alternate ease-in-out, pulse 12s infinite ease-in-out; }
.orb-2 { animation: floatTwo 22s infinite alternate ease-in-out, pulse 14s infinite ease-in-out; }
.orb-3 { animation: floatThree 26s infinite alternate ease-in-out, pulse 16s infinite ease-in-out; }
.orb-4 { animation: floatFour 20s infinite alternate ease-in-out, pulse 13s infinite ease-in-out; }

.noise {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.06;
  background-image:
    linear-gradient(rgba(255,255,255,0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.4) 1px, transparent 1px);
  background-size: 4px 4px;
}

@keyframes floatOne {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  25%  { transform: translate3d(4vw, -2vh, 0) scale(1.05); }
  50%  { transform: translate3d(2vw, 3vh, 0) scale(1.1); }
  75%  { transform: translate3d(-3vw, 2vh, 0) scale(1.06); }
  100% { transform: translate3d(5vw, 4vh, 0) scale(1.08); }
}

@keyframes floatTwo {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  30%  { transform: translate3d(-3vw, 4vh, 0) scale(1.08); }
  60%  { transform: translate3d(-6vw, -2vh, 0) scale(1.12); }
  100% { transform: translate3d(-4vw, 6vh, 0) scale(1.1); }
}

@keyframes floatThree {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(-2vw, -4vh, 0) scale(1.12); }
  100% { transform: translate3d(-3vw, -5vh, 0) scale(1.1); }
}

@keyframes floatFour {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  40%  { transform: translate3d(3vw, -2vh, 0) scale(1.06); }
  80%  { transform: translate3d(5vw, -6vh, 0) scale(1.1); }
  100% { transform: translate3d(4vw, -4vh, 0) scale(1.08); }
}

@keyframes pulse {
  0%   { opacity: 0.6; }
  50%  { opacity: 0.8; }
  100% { opacity: 0.6; }
}

@media (max-width: 900px) {
  .page {
    padding: 24px 20px 24px;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding: 28px 0 40px;
  }

  .footer {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: clamp(2.3rem, 11vw, 4rem);
  }

  .badge {
    font-size: 12px;
    padding: 9px 14px;
  }

  .logo {
    width: min(280px, 78vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bg-orb {
    animation: none;
  }
}