:root {
  --bg: #0b1220;
  --fg: #e5f1ff;
  --muted: #b8c7e0;
  --brand: #38bdf8;
  --brand-2: #a78bfa;
  --card: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica,
    Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--fg);
  background: var(--bg);
  overflow: hidden;
}

/* Fix all links to theme color to prevent browser defaults */
a,
a:visited,
a:active {
  color: var(--fg);
  text-decoration: none;
}

/* Background image */
.bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: url("https://images.unsplash.com/photo-1700170726155-fe844921b8b3?q=80&w=1170&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D.jpg")
    center/cover no-repeat;
  filter: blur(8px) brightness(0.8);
  transform: scale(1.1);
}

/* Navigation Bar */
nav {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 40px;
  z-index: 10;
}

nav a {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: clamp(14px, 1.6vw, 18px);
  color: var(--fg);
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}

/* Hover underline effect from center */
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: var(--muted);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

nav a:hover::after {
  transform: scaleX(1);
}

/* Main wrapper */
.wrap {
  position: relative;
  z-index: 1;
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 6vmin 4vmin;
}

/* Card */
.card {
  width: min(920px, 92vw);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: 28px;
  padding: clamp(24px, 5vmin, 56px);
  backdrop-filter: blur(20px) saturate(130%);
  text-align: center;
  overflow: hidden;
}

/* Brand */
.brand {
  display: flex;
  justify-content: center;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: clamp(14px, 1.4vw, 30px);
  color: var(--fg);
  opacity: 0.95;
  gap: 0.6rem;
}

/* Subtext */
.sub {
  margin: 0.4rem auto 18px;
  max-width: 62ch;
  text-align: center;
  color: var(--muted);
  font-size: clamp(14px, 1.6vw, 18px);
  line-height: 1.55;
  text-transform: none;
}

/* Pill */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 18px auto 0;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px dashed rgba(148, 163, 184, 0.45);
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  font-weight: 600;
}

.pill .badge {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  background: rgba(56, 189, 248, 0.18);
  color: #e0f2fe;
  border: 1px solid rgba(56, 189, 248, 0.35);
}

/* Footer */
footer {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  padding: 16px 24px;
  color: #cbd5e1;
  font-size: 13px;
  opacity: 0.8;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

footer a {
  color: #e2e8f0;
  text-decoration: none;
  border-bottom: 1px dotted rgba(226, 232, 240, 0.4);
}

footer a:hover {
  border-bottom-style: solid;
}

/* Coming Soon Title */
.coming-soon-title {
  margin: 8px 0 6px;
  font-size: clamp(48px, 8vw, 110px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 800;
  text-align: center;
  background: linear-gradient(180deg, #fff, #dbeafe 60%, #93c5fd);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: breathe 3.2s ease-in-out infinite;
  text-shadow: 0 10px 60px rgba(59, 130, 246, 0.22);
  word-break: break-word;
}

/* Contact Title */
.contact-title {
  margin: 8px 0 24px;
  font-size: clamp(48px, 8vw, 110px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 800;
  text-align: center;
  background: linear-gradient(180deg, #fff, #dbeafe 60%, #93c5fd);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: none !important;
}

/* Breathe animation */
@keyframes breathe {
  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(56, 189, 248, 0));
  }
  50% {
    transform: scale(1.06);
    filter: drop-shadow(0 0 30px rgba(56, 189, 248, 0.25));
  }
}

/* Contact cards container */
.contact-cards {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  margin-top: 0;
}

.contact-cards .card {
  flex: 1 1 300px;
  max-width: 400px;
  text-align: center;
}

@media (max-width: 420px) {
  .coming-soon-title,
  .contact-title {
    font-size: clamp(36px, 12vw, 64px);
  }
  .pill {
    width: 100%;
    justify-content: center;
  }
}
