/* ── GLOBAL DENTAL — Work in Progress page ── */

body { overflow: hidden; height: 100vh; }

/* ── BLURRED BACKGROUND ── */
.wip-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.wip-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: blur(24px) brightness(0.55);
  transform: scale(1.05); /* hide blur edges */
}

/* ── STAGE ── */
.wip-stage {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

/* ── FROSTED CARD ── */
.wip-card {
  width: 100%;
  max-width: 520px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(32px) saturate(1.4);
  -webkit-backdrop-filter: blur(32px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 40px;

  /* entrance animation */
  opacity: 0;
  transform: translateY(24px);
  animation: cardIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}

@keyframes cardIn {
  to { opacity: 1; transform: translateY(0); }
}

/* top row */
.wip-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wip-back {
  font-family: var(--font-sans);
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.wip-back:hover { color: #fff; }

/* pulsing badge */
.wip-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  padding: 6px 14px;
}

.wip-badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80; /* green pulse */
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.75); }
}

/* body */
.wip-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wip-label {
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.55);
}

.wip-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 80px);
  color: #fff;
  line-height: 1;
}

.wip-desc {
  font-family: var(--font-sans);
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

/* progress bar */
.wip-progress {
  display: flex;
  align-items: center;
  gap: 16px;
}

.wip-progress__bar {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,0.15);
  border-radius: 100px;
  overflow: hidden;
}

.wip-progress__fill {
  height: 100%;
  width: 0%;
  background: #fff;
  border-radius: 100px;
  animation: fillBar 2.4s cubic-bezier(0.22, 1, 0.36, 1) 0.6s forwards;
}

@keyframes fillBar {
  to { width: 60%; } /* represents ~60% done */
}

.wip-progress__label {
  font-family: var(--font-sans);
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
  letter-spacing: 0.04em;
}

/* nav override — make nav readable over dark bg */
.nav {
  background: transparent;
  animation: none;
  opacity: 1;
}
.nav-brand { color: rgba(255,255,255,0.9); }
.nav-links a { color: rgba(255,255,255,0.7); }
.nav-links a::after { background: #fff; }
.nav-links a:hover { color: #fff; }
.nl-bot { color: #fff; }

@media (max-width: 768px) {
  body { overflow-y: auto; height: auto; min-height: 100svh; }
  .nav { background: rgba(4, 20, 36, 0.94); }
  .wip-stage { position: relative; min-height: 100svh; padding: calc(var(--nav-height) + 32px) 20px 32px; }
  .wip-card { padding: 24px; gap: 28px; border-radius: 20px; }
  .wip-card__top { align-items: flex-start; flex-direction: column; gap: 16px; }
  .wip-title { font-size: clamp(36px, 10vw, 64px); overflow-wrap: anywhere; }
  .wip-back { min-height: 44px; display: inline-flex; align-items: center; }
}
