:root {
  --bg: #0b1220; /* deep navy */
  --card: rgba(17, 24, 39, .65);
  --text: #e6edf3;
  --muted: #9fb0c0;
  --brand: #22d3ee; /* cyan-400 */
  --brand-2: #6366f1; /* indigo-500 */
  --brand-3: #0ea5e9; /* sky-500 */
  --brand-contrast: #0891b2;
  --ring: rgba(34, 211, 238, .4);
  --shadow: 0 12px 40px rgba(0,0,0,.45);
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

.container {
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  justify-items: center;
  padding: 32px 20px;
}

.brand { width: 100%; max-width: 960px; }
.brand .logo { height: 56px; width: auto; border-radius: 10px; box-shadow: var(--shadow); backdrop-filter: blur(2px); }

.content {
  width: 100%;
  max-width: 760px;
  margin: 28px auto;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  padding: 36px 30px;
  box-shadow: var(--shadow);
  text-align: center;
  backdrop-filter: blur(10px) saturate(120%);
}

h1 { margin: 0 0 10px; font-size: clamp(26px, 4vw, 38px); letter-spacing: .2px; }
p { margin: 8px 0; font-size: clamp(16px, 2.4vw, 18px); line-height: 1.6; }

.small { font-size: 14px; }
.muted { color: var(--muted); }

.actions { margin-top: 22px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.button {
  display: inline-block;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: white;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: .2px;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease, filter .15s ease;
  box-shadow: 0 8px 22px rgba(99,102,241,.35), 0 2px 0 rgba(255,255,255,.08) inset;
  border: 1px solid rgba(255,255,255,.08);
}
.button:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(99,102,241,.45); filter: brightness(1.04); }
.button:active { transform: translateY(0); opacity: .95; }
.button.ghost {
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  color: var(--text);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.button.ghost:hover { border-color: rgba(255,255,255,.24); }
.icon-email {
  flex-shrink: 0;
  opacity: .9;
}

.link { color: var(--text); opacity: .85; text-decoration: underline; text-underline-offset: 4px; }
.link:hover { opacity: 1; }

.footer { opacity: .8; }

@media (prefers-reduced-motion: no-preference) {
  .content { animation: float 8s ease-in-out infinite; }
  @keyframes float {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-6px); }
    100% { transform: translateY(0); }
  }
}

/* Modern decorative layers */
.decor {
  position: fixed;
  z-index: -1;
  filter: blur(50px);
  opacity: .45;
}
.decor-a {
  width: 420px; height: 420px; top: -120px; right: -80px;
  background: radial-gradient(circle at 30% 30%, var(--brand), transparent 60%),
              radial-gradient(circle at 70% 70%, var(--brand-2), transparent 60%);
}
.decor-b {
  width: 520px; height: 520px; bottom: -160px; left: -120px;
  background: radial-gradient(circle at 30% 70%, var(--brand-3), transparent 60%),
              radial-gradient(circle at 70% 30%, var(--brand-2), transparent 60%);
}

.grid {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at 50% 50%, rgba(0,0,0,.6), transparent 70%);
  pointer-events: none;
  z-index: -2;
}

/* Animated dots */
.dots-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  opacity: .6;
  filter: blur(.5px);
}

.dot-1 {
  top: 15%;
  left: 12%;
  animation: float-dot 14s ease-in-out infinite;
  animation-delay: 0s;
  background: var(--brand);
}
.dot-2 {
  top: 28%;
  right: 18%;
  animation: float-dot 16s ease-in-out infinite;
  animation-delay: 1.5s;
  background: var(--brand-2);
  width: 8px;
  height: 8px;
}
.dot-3 {
  bottom: 22%;
  left: 15%;
  animation: float-dot 18s ease-in-out infinite;
  animation-delay: 3s;
  background: var(--brand-3);
  width: 5px;
  height: 5px;
}
.dot-4 {
  top: 45%;
  right: 25%;
  animation: float-dot 15s ease-in-out infinite;
  animation-delay: 4.5s;
  background: var(--brand);
  width: 7px;
  height: 7px;
}
.dot-5 {
  bottom: 35%;
  right: 12%;
  animation: float-dot 17s ease-in-out infinite;
  animation-delay: 2s;
  background: var(--brand-2);
}
.dot-6 {
  top: 60%;
  left: 25%;
  animation: float-dot 19s ease-in-out infinite;
  animation-delay: 5.5s;
  background: var(--brand-3);
  width: 6px;
  height: 6px;
}
.dot-7 {
  top: 35%;
  left: 45%;
  animation: float-dot 13s ease-in-out infinite;
  animation-delay: 1s;
  background: var(--brand);
  width: 5px;
  height: 5px;
}
.dot-8 {
  bottom: 18%;
  right: 35%;
  animation: float-dot 20s ease-in-out infinite;
  animation-delay: 6s;
  background: var(--brand-2);
  width: 7px;
  height: 7px;
}

@keyframes float-dot {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: .6;
  }
  25% {
    transform: translate(30px, -40px) scale(1.2);
    opacity: .8;
  }
  50% {
    transform: translate(-20px, 50px) scale(.9);
    opacity: .5;
  }
  75% {
    transform: translate(40px, 20px) scale(1.1);
    opacity: .7;
  }
}


