:root {
  --ink: #0e2a38;
  --muted: #3d5a6a;
  --line: rgba(0, 148, 176, 0.22);
  --cyan: #00a8c4;
  --cyan-deep: #007a91;
  --cyan-soft: #e3f7fb;
  --paper: #f4fbfd;
  --white: #ffffff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: Outfit, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(165deg, #dff4f8 0%, var(--paper) 42%, #e8f6fa 100%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.55;
  animation: drift 14s ease-in-out infinite alternate;
}

.orb-a {
  width: min(52vw, 28rem);
  height: min(52vw, 28rem);
  top: -12%;
  left: -8%;
  background: radial-gradient(circle, #7ad8ea 0%, transparent 70%);
}

.orb-b {
  width: min(48vw, 24rem);
  height: min(48vw, 24rem);
  right: -10%;
  bottom: 5%;
  background: radial-gradient(circle, #4fc4d9 0%, transparent 70%);
  animation-delay: -4s;
  animation-duration: 18s;
}

.grid {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(0, 122, 145, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 122, 145, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
}

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(3%, 4%) scale(1.06); }
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem 1.25rem 3.5rem;
}

.lang-bar {
  display: flex;
  gap: 0.4rem;
  margin: 0.35rem 0 2.75rem;
  align-self: flex-end;
  max-width: 42rem;
  width: 100%;
  justify-content: flex-end;
  animation: fade 0.5s ease both;
}

.lang {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(8px);
  color: var(--muted);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.lang:hover {
  border-color: var(--cyan);
  color: var(--cyan-deep);
  transform: translateY(-1px);
}

.lang[aria-pressed="true"] {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--white);
}

.content {
  width: 100%;
  max-width: 38rem;
  text-align: center;
  padding: 2.25rem 1.75rem 2rem;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 1.5rem;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 18px 48px rgba(0, 90, 110, 0.08),
    0 4px 14px rgba(0, 90, 110, 0.04);
  animation: rise 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.logo-wrap {
  display: flex;
  justify-content: center;
  margin: 0 auto 1.5rem;
  animation: logo-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

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

.logo {
  display: block;
  width: min(100%, 18rem);
  height: auto;
  object-fit: contain;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1.5rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan-deep);
  background: var(--cyan-soft);
  border-radius: 999px;
}

.status::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(0, 168, 196, 0.55);
  animation: pulse 1.8s ease-out infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 168, 196, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(0, 168, 196, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 168, 196, 0); }
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 3.8vw, 1.7rem);
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.lead {
  margin: 0 0 1.1rem;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink);
}

.detail {
  margin: 0 0 1.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--muted);
}

.advisory {
  margin: 0 0 1.75rem;
}

.advisory a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.75rem 1.2rem;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-deep) 100%);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(0, 145, 170, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.advisory a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 145, 170, 0.35);
  filter: brightness(1.05);
}

.advisory a:active {
  transform: translateY(0);
}

.icon {
  flex-shrink: 0;
  transition: transform 0.18s ease;
}

.advisory a:hover .icon {
  transform: translateX(3px);
}

.contact {
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.9875rem;
  line-height: 1.6;
  color: var(--muted);
}

.helpline {
  margin: 0.85rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--muted);
}

.contact a,
.helpline a {
  color: var(--cyan-deep);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.18em;
  transition: color 0.15s ease;
}

.contact a:hover,
.helpline a:hover {
  color: var(--cyan);
}

@media (max-width: 480px) {
  .lang-bar {
    align-self: center;
    justify-content: center;
    margin-bottom: 1.75rem;
  }

  .content {
    padding: 1.75rem 1.25rem 1.5rem;
    border-radius: 1.25rem;
  }

  .logo {
    width: min(100%, 15rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .orb,
  .status::before,
  .content,
  .logo-wrap,
  .lang-bar {
    animation: none;
  }
}
